import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines a,b = map(int,read().split()) q,r = divmod(a,b) x = r * (10**50) // b print('{}.{:0=50}'.format(q,x))