#include <bits/stdc++.h>
using namespace std;
int main() {
  int totalResponses;
  cin >> totalResponses;
  for (int i = 0; i < totalResponses; i++) {
    int response;
    cin >> response;
    if (response == 1) {
      cout << "Hard";
      return 0;
    }
  }
  cout << "Easy";
  return 0;
}
