a=eval(input("红富士着色面积:"))
if a>=0.75:b="特等果"
elif a<0.75 and a>=0.5:b="一等果"
elif a<0.5 and a>=0.25:b="二等果"
else:b="等外果"
a=int(a*100)
print("苹果着色度{}%判定为{}".format(a,b))
a=eval(input("红富士着色面积:"))
if a>=0.75:b="特等果"
elif a<0.75 and a>=0.5:b="一等果"
elif a<0.5 and a>=0.25:b="二等果"
else:b="等外果"
a=int(a*100)
print("苹果着色度{}%判定为{}".format(a,b))