#include <bits/stdc++.h>   using namespace std;   int main() {     int a, b, c = 0;     cin >> a;     for (int i = 0; i < a; ++i) {       cin >> b;       if (b == 1) {         c = 1;       }     }     if (c == 0) {       cout <<  EASY n ;     } else {       cout <<  HARD n ;     }   }   