INF = 10 ** 9 MOD = 10 ** 9 + 7 import sys sys.setrecursionlimit(100000000) dy = (-1,0,1,0) dx = (0,1,0,-1) from copy import deepcopy from bisect import bisect_left def main(): a,b = map(int,input().split()) ans = '' if a >= b: ans += str(a//b) ans += '.' else: ans += '0.' power = 10 for _ in range(50): ret = power*a//b ans += str(ret%10) power *= 10 print(ans) if __name__ == '__main__': main()