ProgramID- 9220
SkillRack
Consonants in First X Characters

The program must accept a string S and an integer X as the input. The program must print all the consonants in the first X characters of S as the output. If there is no consonant in the first X characters of S then the program must print -1 as the output.

Boundary Condition(s):
1 <= Length of S <= 100

Example Input/Output 1:
Input:
assurance
5

Output:
ssr

Example Input/Output 2:
Input:
aeiousky
4

Output:
-1


Max Execution Time Limit: 1000 millisecs