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