a,b = map(int, input().split()) k = a//b a %= b l = [0]*50 for i in range(50): a *= 10 l[i] = a//b a %= b print('{}.{}'.format(k, ''.join(map(str, l))))