#33166: Python: AC (39ms, 3.3MB)


imlindora@gmail.com (Augus)

學校 : 不指定學校
編號 : 204528
來源 : [114.35.233.9]
最後登入時間 :
2024-03-24 11:13:49
f045. 3. 身分驗證機制 (Verification) -- 2020年4月TOI練習賽新手組 | From: [114.35.134.31] | 發表日期 : 2022-12-07 20:29

a=input()
x=[]
b=int(a[6:])
for i in a:
    x.append(i)
s=max(x)
x.remove(s)
s2=max(x)
if int(s)**2+int(s2)**2==b:
    print('Good Morning!')
else:
    print('SPY!')
 
ZeroJudge Forum