#include <iostream>
#include <cstring>
using namespace std;
const int N = 1010;
char s[N];
char a[4] = {'E','A','S','Y'};
int main(){
while(cin >> s){
int n = strlen(s);
int i,j = 0;
for(i=0,j=0;j<n;j++){
if(a[i] == s[j])
i++;
if(i == 4)
break;
}
if(i == 4){
puts("easy");
}else{
puts("difficult");
}
}
return 0;
}
确实容易的题