def main(): a, b = map(int, input().split()) ans = str(a // b) + "." r = a % b # 筆算の容量で1桁ずつずらしながら割っていく for _ in range(50): r *= 10 c = r // b ans += str(c) r -= b * c print(ans) if __name__ == "__main__": main()