A - Entrance Examination Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 100

問題文

明日の入学試験に合格するために、太郎くんはあと T 時間の勉強をする必要があります。

幸いにも、彼は今いる世界(世界A)の X 倍の速度で時間が進む世界Bへ世界跳躍(ワールドリープ)することができます。

世界Bで (X \times t) 時間進むと、世界Aでは t 時間進みます。

世界Bで T 時間勉強したとき、世界Aでは何時間進んでいるでしょうか。

制約

  • 入力は全て整数である。
  • 1 \leq T \leq 100
  • 1 \leq X \leq 100

入力

入力は以下の形式で標準入力から与えられる。

T X

出力

世界Aでは何時間進んでいるかを出力せよ。

なお、想定解答との絶対誤差または相対誤差が 10^{-3} 以下であれば正解として扱われる。


入力例 1

8 3

出力例 1

2.6666666667

3 倍の速度で時間が進む世界Bで 8 時間勉強すると世界Aでは 2.6666... 時間進んでいます。

10^{-3} 以下の絶対誤差・相対誤差が許容されることに注意してください。


入力例 2

99 1

出力例 2

99.0000000000

入力例 3

1 100

出力例 3

0.0100000000

Score : 100 points

Problem Statement

In order to pass the entrance examination tomorrow, Taro has to study for T more hours.

Fortunately, he can leap to World B where time passes X times as fast as it does in our world (World A).

While (X \times t) hours pass in World B, t hours pass in World A.

How many hours will pass in World A while Taro studies for T hours in World B?

Constraints

  • All values in input are integers.
  • 1 \leq T \leq 100
  • 1 \leq X \leq 100

Input

Input is given from Standard Input in the following format:

T X

Output

Print the number of hours that will pass in World A.

The output will be regarded as correct when its absolute or relative error from the judge's output is at most 10^{-3}.


Sample Input 1

8 3

Sample Output 1

2.6666666667

While Taro studies for eight hours in World B where time passes three times as fast, 2.6666... hours will pass in World A.

Note that an absolute or relative error of at most 10^{-3} is allowed.


Sample Input 2

99 1

Sample Output 2

99.0000000000

Sample Input 3

1 100

Sample Output 3

0.0100000000