AtCoder Beginner Contest 134 - Dodecagon

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.

-----Sample Input-----
4

-----Sample Output-----
48

The area of the regular dodecagon is 3 \times 4^2 = 48.

Difficulty: EASY

Starter code:

Solutions:
s = input()
a = int(s)
print(3 * a * a)


r = int(input())
area = r * r * 3
print(area)


r = int(input().strip())
print(3 * r ** 2)


r = int(input())
a = 3 * r * r
print(a)


A = int(input())
print(3 * A ** 2)


t = int(input())
print(3 * t ** 2)


a = int(input())
b = a ** 2 * 3
print(b)


n = int(input())
print(n ** 2 * 3)


r = int(input())
b = 3 * r ** 2
print(b)


N = int(input())
print(3 * pow(N, 2))


print(int(input()) ** 2 * 3)


r = int(input())
print(3 * r * r)


rad = int(input())
print(rad * rad * 3)


int = int(input())
print(3 * int * int)


n = int(input())
a = n * n * 3
print(a)


x = int(input())
print(3 * x ** 2)


a = int(input())
print(int(3 * a * a))


t = int(input())
print(3 * t * t)


s = int(input())
print(3 * s ** 2)


print(eval('3*' + input() + '**2'))


R = input()
R = int(R)
print(3 * R * R)


N = int(input())
m = 3 * N ** 2
print(m)


r = int(input())
m = 3 * r * r
print(m)


n = int(input())
print(3 * (n * n))


k = int(input())
print(3 * k * k)


n = int(input())
s = 3 * n * n
print(s)


x = int(input())
print(3 * x * x)


a = int(input())
m = 3 * a ** 2
print(m)


def resolve():
	r = int(input())
	print(3 * r ** 2)
resolve()


S = int(input())
print(3 * S ** 2)


a = int(input())
print(3 * pow(a, 2))


r = int(input())
ans = 3 * r * r
print(ans)


r = int(input())
print(3 * pow(r, 2))


print(str(int(input()) ** 2 * 3))


r = int(input())
s = r * r * 3
print(s)


r = int(input())
v = 3 * r * r
print(v)


N = int(input())
a = N ** 2 * 3
print(a)


r = int(input())
d = 3 * r ** 2
print(d)


r = int(input())
k = 3 * r * r
print(k)


r = int(input())
print(str(r * r * 3))


r = int(input())
r2 = r ** 2 * 3
print(r2)


r = int(input())
R = 3 * r * r
print(R)


i = int(input())
print(i * i * 3)


a = int(input())
print(str(3 * a * a))


R = int(input())
print(R ** 2 * 3)


n1 = int(input())
print(3 * n1 * n1)


r = int(input())
x = 3 * r * r
print(x)


s = int(input())
print(s * s * 3)


a = int(input())
ans = 3 * a * a
print(ans)


i = int(input())
print(3 * i ** 2)


N = int(input())
print(N * N * 3)


i = int(input())
out = 3 * i * i
print(out)


hoge = int(input())
print(3 * hoge * hoge)


radius = int(input())
area = lambda r: 3 * r ** 2
print(area(radius))


a = float(input())
print(int(3 * a * a))


S = int(input())
print(S * S * 3)


rand = int(input())
print(3 * rand ** 2)


r = int(input())
S = 3 * r * r
print(S)


A = int(input())
print(3 * A * A)


r = int(input())
asn = 3 * r ** 2
print(asn)


ans = 3 * int(input()) ** 2
print(ans)


a = int(input())
k = 3 * a ** 2
print(k)


r = int(input())
num = 3 * r * r
print(num)


r = int(input())
V = 3 * r ** 2
print(V)


r = int(input())
b = r * r
c = b * 3
print(c)


a = int(input())
S = 3 * a * a
print(S)


i = input()
r = int(i)
print(3 * r * r)


a1 = int(input())
print(3 * a1 ** 2)


h = int(input())
print(3 * h ** 2)


data = int(input())
print(data ** 2 * 3)