306 - Book Price Again

Book Price Again

Time Limit: 1 sec

**The Problem**

The price of 7 books is **X** taka, what is the price of **M** books ?

Example:

if **X** = 623 and **M** = 15 then

price of 15 books is 1335.

**The Input**

Input file contain a series of line, each line contain two integer numbers **X** and **M **(**X**<=10000 and **M**<30). Input is terminated by **EOF**.

**The Output**

For each line of input, output will show one integer number which is the price of **M **book in a separate line.

**Sample Input**

623 15

287 85

7 5

**Sample Output**

1335

3485

5

Problem Setter: Shahin ShamS