I submitted the following code to SEBIHWY:
N = int(input())
for kappa in range(N):
S, SG, FG, D, T = list(map(float, input().strip().split()))
speed = S+(D/T)*180.0
Sebi = abs(SG - speed)
Father = abs(FG - speed)
if Sebi>Father:
print('FATHER')
elif Father>Sebi:
print('SEBI')
else:
print('DRAW')
I can’t seem to figure out what is wrong with this code. Can somebody help?