#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  while (n--) {
    int a;
    cin >> a;
    if (a == 1) {
      cout << "Hard";
      return 0;
    }
  }
  cout << "Easy";
  return 0;
}
