import math a,b=map(int,input().split()) print(a//b,'.',sep='',end='') r=a%b for _ in range(50): r*=10 c=r//b print(c,end='') r-=b*c