# Python3で巨大な浮動小数計算の結果が変だったので理由を調べてみた
# https://paiza.hatenablog.com/entry/2017/08/01/Python3で巨大な浮動小数計算の結果が変だったので理
# -> C++ から Python 3 に 変更.
# ※ boost/multiprecision/cpp_dec_float.hpp を include 出来なかったため.
# -*- coding: utf-8 -*-
from decimal import *

# 1. 入力情報.
inputs = list(map(str,input().split()))
A, B = inputs[0], inputs[1]

# 2. 割り算.
# https://docs.python.org/ja/3/library/decimal.html
# getcontext().prec = 3
# >>> Decimal('3.4445') + Decimal('1.0023')
# Decimal('4.45')
getcontext().prec = 51
C = Decimal(A) / Decimal(B)

# 3. 出力.
# https://docs.python.org/ja/3/library/decimal.html
# >>> Decimal('7.325').quantize(Decimal('.01'), rounding=ROUND_DOWN)
# Decimal('7.32')
print(C.quantize(Decimal('.00000000000000000000000000000000000000000000000001'), rounding=ROUND_DOWN))