x,y = list(map(int,input().split()))

print((x/y))
t,x = list(map(int,input().split()))

print((t/x))
x, y = list(map(int, input().split()))
print((x / y))

t, x = list(map(int, input().split()))
print((t / x))

-x, y = list(map(int, input().split())) -print((x / y)) +t, x = list(map(int, input().split())) +print((t / x))