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