data = float(input(">>>")) tmp = data res = '0.' while tmp != 0: z = int(tmp * 2) res += str(z) tmp = tmp * 2 - z print(res)