Problems
334 - Percentages (%)
SUBMIT PROBLEM

Percentages (%)

Time Limit: 1 sec

 

The Problem

When we say “Percent” its mean we are saying per hundred.  

 

Example:

If we are saying in a fruit basket 95% is apple. Its mean we are saying from hundred fruits there are 95 apples.

You will be given total amount of the fruits in a fruit basket and a percentage. Your task is to find the number of apples in the basket.

 

The Input

The input file contains a series of line. Each line contains two integer numbers, the total number of fruits, N (N<=10000) and percentage, P (P<=100). Input is terminated by EOF

 

The Output

For each line of input the output will show the amount of apples in a separate line.

 

Sample Input

1000 25%

21 99%

5698 63%

 

Sample Output

250

20

3589

 

 

 

 

 

Problem Setter: Samia Safa Ahmed

Special Thanks To: Shahin ShamS