X=[float(i) for i in input().split()] N=int(input()) A=[int(i) for i in input().split()] for i in range(2): X[i]=X[i]*3600/1000 i=1 e=0 while e==0 and i