atcoder#ABC229B. [ABC229B] Hard Calculation

[ABC229B] Hard Calculation

Score : 200200 points

Problem Statement

You are given positive integers AA and BB. Let us calculate A+BA+B (in decimal). If it does not involve a carry, print Easy; if it does, print Hard.

Constraints

  • AA and BB are integers.
  • 1A,B10181 \le A,B \le 10^{18}

Input

Input is given from Standard Input in the following format:

AA BB

Output

If the calculation does not involve a carry, print Easy; if it does, print Hard.

229 390
Hard

When calculating 229+390229+390, we have a carry from the tens digit to the hundreds digit, so the answer is Hard.

123456789 9876543210
Easy

We do not have a carry here; the answer is Easy. Note that the input may not fit into a 3232-bit integer.