

Time Limit: 2 sec / Memory Limit: 1024 MB
配点 : 100 点
問題文
100 mL あたり A kcal のエネルギーを持つドリンクがあります。このドリンク B mL は何 kcal のエネルギーを持つでしょうか?
制約
- 0 \leq A, B \leq 1000
- 入力は全て整数である。
入力
入力は以下の形式で標準入力から与えられる。
A B
出力
答えを表す数値を出力せよ。
なお、想定解答との絶対誤差または相対誤差が 10^{-6} 以下であれば正解として扱われる。
入力例 1
45 200
出力例 1
90
100 mL あたり 45 kcal のエネルギーを持つドリンクがあり、このドリンク 200 mL は 90 kcal のエネルギーを持ちます。
入力例 2
37 450
出力例 2
166.5
答えは整数でないこともあります。
入力例 3
0 1000
出力例 3
0
入力例 4
50 0
出力例 4
0
Score : 100 points
Problem Statement
We have a drink that has A kilocalories of energy per 100 milliliters. How many kilocalories of energy does B milliliters of this drink have?
Constraints
- 0 \leq A, B \leq 1000
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
A B
Output
Print a number representing the answer.
Your output is considered correct when its absolute or relative error from our answer is at most 10^{-6}.
Sample Input 1
45 200
Sample Output 1
90
We have a drink that has 45 kilocalories of energy per 100 milliliters. 200 milliliters of this drink has 90 kilocalories of energy.
Sample Input 2
37 450
Sample Output 2
166.5
The answer may not be an integer.
Sample Input 3
0 1000
Sample Output 3
0
Sample Input 4
50 0
Sample Output 4
0