#K93787. Maximum Rectangle Area from Circular Tower's Wall

    ID: 38497 Type: Default 1000ms 256MiB

Maximum Rectangle Area from Circular Tower's Wall

Maximum Rectangle Area from Circular Tower's Wall

Given a circular tower with radius (R), you are required to determine the maximum area of a rectangle that can be cut from the tower's wall. The maximum area is achieved when the rectangle has an area calculated by the formula (2R^2). Use the provided radius to compute and output this maximal area.

inputFormat

Input consists of a single integer (R) on a new line representing the radius of the circular base.

outputFormat

Output a single integer which is the maximum possible area of the rectangle computed as (2R^2).## sample

5
50