No.56 Consumption Tax
Problem Statement
The currency unit of a certain country is the "Yukikoda".
You are about to buy an item costing $D$ Yukikoda?
However, a consumption tax at a rate of $P$% of the item's price is added.
How much do you actually pay?
Note that any fractional part is truncated.
Input
D P
$D$ is the price of the item you are about to buy, excluding consumption tax. $1\le D \le 10000000=10^7$ ($D$ is a positive integer.)
$P$ is the consumption tax rate of this country. $0\le P \le 100$ ($P$ is an integer.)
Output
Output the amount actually paid, taking consumption tax into account, on one line.
Do not forget the newline at the end.
Sample
Sample 1
Input
100 8
Output
108
A consumption tax at a rate of 8% is applied to an item costing 100 Yukikoda.
The consumption tax is 100*0.08=8 Yukikoda, so the amount actually paid is 108 Yukikoda.
Sample 2
Input
10 8
Output
10
A consumption tax at a rate of 8% is applied to an item costing 10 Yukikoda.
The consumption tax is 10*0.08=0.8 Yukikoda, so the calculated amount to pay is 10.8 Yukikoda.
However, since the fractional part is truncated, 0.8 is discarded and the answer is 10 Yukikoda.
Sample 3
Input
123 10
Output
135
Sample 4
Input
25 16
Output
29
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
nmnmnmnmnmnmnm