文章
67
粉丝
207
获赞
29
访问
36.4k
while True:
try:
str = input()
str1 = list(str)
str2 = ['a']*10005
j = 0
for i in range(len(str)):
if str1[i] =='E' or str1[i] =='A' or str1[i] =='S' or str1[i]=='Y':
str2[j] = str1[i]
j += 1
index = 0
for i in range(0,j):
if str2[i]=='E' :
for jj in range(i+1,j):
if(str2[jj]=='A'):
for k in range(jj+1,j):
if(str2[k]=='S'):
for kk in range(k+1,j):
if(str2[kk]=='Y'):
index = 1
if index == 0:
print("difficult")
elif index == 1:
print("easy")
except:
break
登录后发布评论
暂无评论,来抢沙发