Олимпиадный тренинг

Задача 39243. First-class addition


Задача

Темы: Циклы
First grader Fedor likes to add numbers in a column, but only if the examples are easy. He considers easy examples in which it is not necessary to make transfers from the low order to the high ones. All other examples he finds difficult.

You are given positive integers A and B. Count A+B (in decimal). If it doesn't involve a carry in some place, print Easy, otherwise print Hard.


Input
The program takes as input one string containing two integers  A and B (1 <= A, B < = 1018).

Imprint
Print the answer to the problem.
 
Examples
# Input Output
1 229 390 Hard
2 123456789 9876543210 Easy