A - Discount Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 100

問題文

定価 A 円の商品が B 円で売られているとき、この商品の売値は定価の何パーセント引きですか?

制約

  • A, B は整数
  • 1 ≤ B < A ≤ 10^5

入力

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

A B

出力

答えを小数で出力せよ。
想定解答との絶対誤差または相対誤差が 10^{-2} 以下であれば正解と判定される。


入力例 1

100 80

出力例 1

20.0

定価 100 円の商品が 80 円で売られているとき、この売値は定価の 20 %引きです。


入力例 2

7 6

出力例 2

14.285714285714285714

入力例 3

99999 99998

出力例 3

0.00100001000010000100

Score : 100 points

Problem Statement

A shop sells a product whose regular price is A yen (Japanese currency) for B yen. By what percentage of the regular price is this product discounted?

Constraints

  • A and B are integers.
  • 1 ≤ B < A ≤ 10^5

Input

Input is given from Standard Input in the following format:

A B

Output

Print the answer as a decimal.
Your answer will be judged as correct when its absolute or relative error from our answer is at most 10^{-2}.


Sample Input 1

100 80

Sample Output 1

20.0

If a product whose regular price is 100 yen is sold for 80 yen, it is discounted by 20 percent of the regular price.


Sample Input 2

7 6

Sample Output 2

14.285714285714285714

Sample Input 3

99999 99998

Sample Output 3

0.00100001000010000100