#K6241. Determine the Winner
Determine the Winner
Determine the Winner
Given a string s consisting of lowercase English letters, determine the winner of the game between Isabella and Jasper. The game rules are as follows:
Let \(V\) be the number of vowels (i.e. a, e, i, o, u) and \(C\) be the number of consonants in s. The winner is determined using the following rules:
- If \(V = 0\), then Jasper wins.
- If \(C = 0\), then Isabella wins.
- Otherwise, if \(V > C\) then Isabella wins (i.e. \(V > C\)); else, Jasper wins.
Your task is to read the string from standard input and print the name of the winner.
inputFormat
The input consists of a single line containing a non-empty string s composed of lowercase English letters.
outputFormat
Output a single line containing the name of the winner: either Isabella
or Jasper
.
aei
Isabella