Company: visa_6oct
Difficulty: easy
Count Valid Messages A social media platform reviews user-generated content. You are given n messages, and you must report how many of them are valid . A message is valid when both of the following hold: its length is odd , where the length is the number of characters in the message, spaces and punctuation included; it contains at least one vowel , that is at least one of the ten letters a , e , i , o , u , A , E , I , O , U . The letter y is not a vowel here, and characters that are not letters — digits, spaces, punctuation — are never vowels, although they do count towards the length. Input Format The first line contains one integer n — the number of messages. Each of the next n lines contains one message, given exactly as it is: the whole line is the message, so it may contain spaces. Output Format Print a single integer — the number of messages that have odd length and contain at least one vowel. Constraints 1 <= n <= 2000 1 <= length of each message <= 100 The sum of t