#include <bits/stdc++.h>   using namespace std;   void split(string &s, vector<string> &v, string &sep) {     int current, previous = 0;     current = s.find_first_of(sep);     while (current != string::npos) {       v.push_back(s.substr(previous, current - previous));       previous = current + 1;       current = s.find_first_of(sep, previous);     }     v.push_back(s.substr(previous, current - previous));   }   int main() {     int n, flag = 0;     cin >> n;     for (int i = 0; i < n; i++) {       int temp;       cin >> temp;       if (temp) {         flag = 1;       }     }     if (flag) {       cout <<  HARD ;       cout << endl;     } else {       cout <<  EASY ;       cout << endl;     }     return 0;   }   