input_list = list(map(int,input().split())) a, b = input_list res_list = [] count = 0 divided = 0 r = 0 while True: if count == 0: divided = a else: divided = r * 10 res_list.append(divided // b) r = divided % b count += 1 if count == 51: break res_list_str = [str(e) for e in res_list] res_list_str.insert(1, '.') res = ''.join(res_list_str) print(res)