#K41227. Communication Difficulty
Communication Difficulty
Communication Difficulty
You are given a three-letter uppercase code. The task is to determine whether the code is easy or hard to communicate. A code is considered Easy if it contains at least one vowel, and Hard otherwise. For this problem, the five vowels are represented as \(A, E, I, O, U\).
Task: Read a three-letter uppercase string from standard input and output Easy
if the string contains any vowel, or Hard
if it does not.
Example:
- Input:
AEX
→ Output:Easy
- Input:
BCD
→ Output:Hard
inputFormat
The input consists of a single line containing a three-letter uppercase string.
outputFormat
Output a single word: Easy
if the input contains any vowel (\(A, E, I, O, U\)) and Hard
otherwise.
AEX
Easy