MILEAGE- What's wrong

Why I am getting wrong answer plz review my code??

for _ in range(int(input())):
    n,x,y,a,b=map(float,input().split())
    if ((n/a)*x > (n/b)*y):
        print("DISEL")
    elif ((n/a)*x < (n/b)*y):
        print("PETROL")
    else:
        print("ANY")