AtCoder Beginner Contest 134
A
Dodecagon
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

It is known that the area of a regular dodecagon inscribed in a circle of radius $a$ is $3a^2$.

翻译中…

Given an integer $r$, find the area of a regular dodecagon inscribed in a circle of radius $r$.

翻译中…

Constraints

翻译中…
  • $1 \leq r \leq 100$
  • $r$ is an integer.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

r

翻译中…

Output

翻译中…

Print an integer representing the area of the regular dodecagon.

翻译中…

样例

Input #1
4
Output #1
48
The area of the regular dodecagon is $3 \times 4^2 = 48$.
Input #2
15
Output #2
675
Input #3
80
Output #3
19200
题目信息
题号
abc134_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。