#include <bits/stdc++.h>
int main() {
  int i, Number, R;
  scanf("%d", &Number);
  for (i = 0; i < Number; i++) {
    scanf("%d", &R);
    if (R == 1) {
      printf("Hard");
      break;
    }
    if (i == Number - 1) printf("Easy");
  }
}
