Java Geometric Object#10492

Java Geometric Object

1 second
128 megabytes
Very easy

Write an application for the following UML diagram:

prb10492.gif

Process the next instructions:

Initially the radius of the circle equals to .

Resize by percent means decrease the radius twice. Resize by percent means increase the radius twice.

Input

Each line contains one of the instructions:

  • Area

  • Perimeter

  • Resize percent

Output

Print the output for each instruction.

Examples

Example 1

Loading
Loading