Problems
332 - Perimeter
SUBMIT PROBLEM

Perimeter

Time Limit: 1 sec

 

The Problem

If a Rectangular is drawn. Its Height is P% of its Width. What will be the Perimeter of the Rectangular?

Note: The Perimeter of a Rectangle is 2(Length) + 2(Width)

 

 

 

 

The Input

The input file contains a series of line. Each line contains two integer numbers Width of the table, W (W <= 9999) and P (P<=100). Input is terminated by EOF.

 

The Output

For each line of input the output will show the Perimeter of the Rectangular rounded to 2 decimal points.

 

Sample Input

625 75

225 25

12 24

 

Sample Output

2187.50

562.50

29.76

 

 

 

 

 

Problem Setter: Samia Safa Ahmed