while True:
a,b,c,d=map(int,input().split( ))
diff=int(b/a)
if diff == c/b:
e = d*diff
print(a,b,c,d,e)
else:
diff=int(b-a)
e=d+diff
while True: a,b,c,d=map(int,input().split( )) diff=int(b/a) if diff == c/b: e = d*diff print(a,b,c,d,e) else: diff=int(b-a) e=d+diff print(a,b,c,d,e)
你在寫甚麼鬼你確定你有看題目嗎?題目第一行要輸入下面可以輸入幾行ㄟ