Hide

Problem B
Dannebrog

Languages da en

The proportions for the Danish flag, Dannebrog, are established in the Ordinance on the Flags and Banners of Merchant Ships and Commercial Vessels, as well as the chartered Companies’ Ships and Pennants and Flags of July 11, 1748:

The Danish Merchant Flag shall be of a hue crimson, bearing a white Cross unparted; and upon the taking of the breadth of the Flag at the Pole as the Standard for Proportion, the white Cross shall occupy a portion of one-seventh of the said breadth; the $2$nd crimson Quadrants to the rear shall form a perfect square, whilst the fore crimson Quadrants shall extend to six-fourths of the said rear Quadrants.

A Dannebrog with correct proportions looks like this:

\includegraphics[width=.33\textwidth ]{figure.pdf}

The red color is Pantone $186$C, commonly referred to as dannebrog red. How much dannebrog red do you need for a flag of a given size?

Input

The width $b$ of Dannebrog at the pole in whole centimeters. We have $7\leq b \leq 280$.

Output

The area of dannebrog red, in square centimeters. It is guaranteed that the correct answer is an integer.

Sample Input 1 Sample Output 1
7
45
Sample Input 2 Sample Output 2
28
720