{"problem":{"name":"K. Stepan and Vowels","description":{"content":"Stepan likes to repeat vowel letters when he writes words. For example, instead of the word \"_pobeda_\" he can write \"_pobeeeedaaaaa_\". Sergey does not like such behavior, so he wants to write a progr","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF774K"},"statements":[{"statement_type":"Markdown","content":"Stepan likes to repeat vowel letters when he writes words. For example, instead of the word \"_pobeda_\" he can write \"_pobeeeedaaaaa_\".\n\nSergey does not like such behavior, so he wants to write a program to format the words written by Stepan. This program must combine all consecutive equal vowels to a single vowel. The vowel letters are \"_a_\", \"_e_\", \"_i_\", \"_o_\", \"_u_\" and \"_y_\".\n\nThere are exceptions: if letters \"_e_\" or \"_o_\" repeat in a row exactly 2 times, like in words \"_feet_\" and \"_foot_\", the program must skip them and do not transform in one vowel. For example, the word \"_iiiimpleeemeentatiioon_\" must be converted to the word \"_implemeentatioon_\".\n\nSergey is very busy and asks you to help him and write the required program.\n\n## Input\n\nThe first line contains the integer _n_ (1 ≤ _n_ ≤ 100 000) — the number of letters in the word written by Stepan.\n\nThe second line contains the string _s_ which has length that equals to _n_ and contains only lowercase English letters — the word written by Stepan.\n\n## Output\n\nPrint the single string — the word written by Stepan converted according to the rules described in the statement.\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"CF774K","tags":["implementation","strings"],"sample_group":[["13\npobeeeedaaaaa","pobeda"],["22\niiiimpleeemeentatiioon","implemeentatioon"],["18\naeiouyaaeeiioouuyy","aeiouyaeeioouy"],["24\naaaoooiiiuuuyyyeeeggghhh","aoiuyeggghhh"]],"created_at":"2026-03-03 11:00:39"}}