#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  bool isHard = false;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int ans;
    cin >> ans;
    if (ans == 1) isHard = true;
  }
  isHard ? cout << "Hard" : cout << "Easy";
  return 0;
}
