a,b = map(int,input().split()) s = 10**50 x = a*s//b print(f"{x//s}.{x%s:050}")