#K41562. Remove Vowels from a String

    ID: 26893 Type: Default 1000ms 256MiB

Remove Vowels from a String

Remove Vowels from a String

You are given a string S consisting of lowercase English letters. Your task is to remove all vowels from the string. Vowels are defined as \(a, e, i, o, u\). You need to read the input from standard input and output the resulting string to standard output.

The input begins with an integer \(N\) denoting the length of the string, followed by the string \(S\) itself. Your program should remove every vowel in \(S\) and print the new string without any vowels.

For example, if the input string is hello, the output should be hll (since the vowels e and o are removed).

inputFormat

The input is provided via standard input (stdin) and has the following format:

N
S

Where:

  • N is an integer representing the length of the string \(S\).
  • S is a string of length \(N\) containing only lowercase English letters.

outputFormat

Output the string after removing all vowels. The output should be written to standard output (stdout) and should not contain any extra spaces or newline characters beyond what is required.

## sample
5
aeiou