from collections import defaultdict,deque import sys,heapq,bisect,math,itertools,string,queue,copy,time sys.setrecursionlimit(10**8) INF = float('inf') mod = 10**9+7 eps = 10**-7 def inp(): return int(input()) def inpl(): return list(map(int, input().split())) def inpl_str(): return list(input().split()) A,B = inpl() if A > B: ans = str(A//B) + '.' A = A%B*10 else: ans = '0.' A *= 10 for _ in range(50): if A < B: A *= 10 ans += '0' else: tmp = A//B A = A%B ans += str(tmp) A *= 10 print(ans)