#include <bits/stdc++.h>
using namespace std;
int main() {
  short n;
  cin >> n;
  char ith;
  for (int i = 0; i < n; i++) {
    cin >> ith;
    ith -= '0';
    if (ith == (char)1) {
      cout << "hARD";
      return 0;
    }
  }
  cout << "EAsy";
  return 0;
}
