Problem:


Score : 100 points

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.

Sample Input 1

4

Sample Output 1

48

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

Sample Input 2

15

Sample Output 2

675

Sample Input 3

80

Sample Output 3

19200



Sample input:
4


Sample output:
48

Submission status: Runtime Error

Solution code:
i = input()
N = int(i)
A = []
for x in range(N):
    j = input()
    A.append(int(j))

for x in range(N):
    #print(x)
    t = A[:x] + A[x+1:]
    print(max(t))

Submission status: Runtime Error

Solution code:
n = input()
A=[]
for i in range(0,int(n)):
  a=input()
  A.append(int(a))

for i in range(0,int(n)):
  if ( sorted(A)[-1] == A[i]):
  	print (sorted(A)[-2])
  else:
    print(sorted(A)[-1])

Submission status: Runtime Error

Solution code:
N = int(input())
As = list(map(int, input().split()))
As.insert(0, 0)
Ans = [0 for _ in range(N + 1)]
Ans[N] = As[N]
for i in range(N - 1, 0, -1):
    p = i * 2
    s = 0
    while True:
        if p > N:
            break
        s += Ans[p]
        p += i
    Ans[i] = 0 if s % 2 == As[i] else 1
M = sum(Ans)
print(M)
if M > 0:
    bs = ""
    for i in range(1, N + 1):
        if Ans[i] != 0:
            bs += "%d " % i
    bs = bs.rstrip(" ")
    print(bs)

Submission status: Runtime Error

Solution code:
#A
#n = int(input())
#print(3*n**2)
#B
n, d = map(int, input().split())
canseerange = 2*d+1
if n % canseerange == 0:
    print(int(n/canseerange))
else:
    print(int(n/canseerange)+1
#C
#n = int(input())
#ans = 0
#most1 = 0
#most2 = 0
#ed = False
#for i in range(n):
#    t = int(input())
#    ed = False
#    if most1 <= t:
#        most2 = most1
#        most1 = t
#        ans = i
#        ed = True
#    elif most2 <= t and ed == False:
#        most2 = t
#for i in range(n):
#    if i==ans:print(most2)
#    else:print(most1)
#D

Submission status: Runtime Error

Solution code:
num = input()
print(3 * num * num)

Submission status: Runtime Error

Solution code:
N=int(input()) 
a=[int(input()) for i in range(N)]
b=sorted(a)
n=0
while True:
    if n==a.index(max(a)):
        print(b[-2])
    else:
        print(b[-1])
    n+=1
    if n==N:
        break

Submission status: Runtime Error

Solution code:
x = int(input())
print(a*x*x)

Submission status: Runtime Error

Solution code:
x = input()
print(a*x*x)

Submission status: Runtime Error

Solution code:
r = input()
print(3*(r**2))

Submission status: Runtime Error

Solution code:
import math
N, D = map(int,input().split())
print(N, D)
cnt = math.floor(N/(2*D+1))
if N%(2*D+1) != 0:
  cnt += 1
print(cnt)

Submission status: Runtime Error

Solution code:
n = int(input())

a = []
maximum = 0
second_maximum = 0
for i in range(n):
    input_num = int(input())
    a.append(input_num)
    if input_num > maximum:
        second_maximum = maximum
        maximum = input_num
    elif input_num > second_maximum:
        second_maximum = input_num
        
for a_num in a:
    if a_num == maximum:
        print(second_maximum)
    else:
        print(maximum)

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python

def main():
    r = int(input().strip())
    return(3 * r * r)

if __name__ == '__main__':
    print(main()

Submission status: Runtime Error

Solution code:
n,d=input().split()
N=int(n)
D=int(d)
if N%(2*D+1)==0:
  print(N//(2*D+1))
else:
  print(N//(2*D+1)+1)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
s = a//(2*b+1)
if a%(2*b+1) == 0:
  print(s)
else:
  print(s+1)

Submission status: Runtime Error

Solution code:
a=[int(input())for i in[0]*int(input())]
b=max(a)
if a.count(b)>1:print('\n'.join([str(b)]*len(a)))
else:
  c=[b for i in a]
  c[a.index(b)]=max(a[:a.index(b)]+a[a.index(b)+1:])

Submission status: Runtime Error

Solution code:
r = map(int,input().split())
s = 3 * r * r
print("s")

Submission status: Runtime Error

Solution code:
a = int(input())
print(3a^2)

Submission status: Runtime Error

Solution code:
r=int(input())
a=3(r*r)

Submission status: Runtime Error

Solution code:
r=(int,input())
a=3(r*r)

Submission status: Runtime Error

Solution code:
r=map(int,input())
a=3(r*r)

Submission status: Runtime Error

Solution code:
a=input().split()
n=int(a[0])
d=int(a[1])


if n%(d*2+1)==0:
	print(int(n/(d*2+1)))
elif n%(d*2+1)!=0:
	print(int(n/(d*2+1))+1)

Submission status: Runtime Error

Solution code:
r=int(input())
return(3*r^2)

Submission status: Runtime Error

Solution code:
r = map(int,input())
s = 3 * r * r
print("s")

Submission status: Runtime Error

Solution code:
a=[int(input())for i in[0]*int(input())]
b=max(a)
if a.count(b)>1:print('\n'.join([b for i in a]))
else:
  c=[b for i in a]
  c[a.index(b)]=max(a[:a.index(b)]+a[a.index(b)+1:])

Submission status: Runtime Error

Solution code:
r=map(int,input().split())
a=3(r*r)

Submission status: Runtime Error

Solution code:
n=int(input())
a=[]
for i in range(n):
    a.append(int(input()))
c=max(a)
check=False
for i in range(n):
    if a[i]==c&&check==False:
        b=a[:i]+a[i+1:]
        d=max(b)
        print(d)
    elif a[i]==c&&check==True:
        print(d)
    else:
        print(c)

Submission status: Runtime Error

Solution code:
import math

line = list(map(int, input().split(" ")))
N = line[0]
D = line[1]

bord = math.ceil(N/(2*D+1))

print(bord)

Submission status: Runtime Error

Solution code:
a = input()
print (3*a*a)

Submission status: Runtime Error

Solution code:
r=int(input())
a=3(rxr)

Submission status: Runtime Error

Solution code:
r=(int,input().split)
a=3(rxr)

Submission status: Runtime Error

Solution code:
r = input()
s = 3 * r * r
print("s")

Submission status: Runtime Error

Solution code:
r = gets.to_i
puts 3 * r * r

Submission status: Runtime Error

Solution code:
r = input()
s = 3 * (r ** 2)
print("s")

Submission status: Runtime Error

Solution code:
r = input()
s = 3 * (r ** 2)
print(s)

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>
using namespace std;

int main(){
  int r;
  cin >> r;
  cout << 3*r*r << endl;
}

Submission status: Runtime Error

Solution code:
r = input()
s = 3 * (a ** 2)
print(s)

Submission status: Runtime Error

Solution code:
r=map(int,input())
a=3(rxr)

Submission status: Runtime Error

Solution code:
a = list(map(int, input().split()))
print (3*a*a)

Submission status: Runtime Error

Solution code:
r = input()
s = 3 * a ** 2
print("s")

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>
 
int main(){
  int r;
  cin >> r;
  cout << 3*r*r << endl;
}

Submission status: Runtime Error

Solution code:
A=input()
print(3*A**2)

Submission status: Runtime Error

Solution code:
r=(int,input())
a=3(rxr)

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>

int main(){
  int a;
  cin >> r;
  cout << 3*r*r << endl;
}

Submission status: Runtime Error

Solution code:
print(3*input()*input())

Submission status: Runtime Error

Solution code:
r = input()
s = 3*r**2
print(s)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split(' '))
print(-(-a//(1+2*b)))

Submission status: Runtime Error

Solution code:
r = map(int,input().int())
s = 3 * r ** 2
print(s)

Submission status: Runtime Error

Solution code:
int = int(input()) #iを取得し、intに値を入れる
S = 3*int**2
return S

Submission status: Runtime Error

Solution code:
r = map(int,input())
s = 3 * r ** 2
print(s)

Submission status: Runtime Error

Solution code:
a = r*r*3
print(a)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split(' '))
print(0-(-a//b))

Submission status: Runtime Error

Solution code:
import math

n,d = map(int,input().split())

k = n/(d*2+1)
print(math.ceil(k))

Submission status: Runtime Error

Solution code:
r = int(input())
return 3 * r ** 2

Submission status: Runtime Error

Solution code:
r=input()
r=int(r)
print(3(r**3))

Submission status: Runtime Error

Solution code:
3*r*r

Submission status: Runtime Error

Solution code:
r = input()
s = 3 * (r ^ 2)
print(3 * s)

Submission status: Runtime Error

Solution code:
r = int(input())
print((3 * r*r)

Submission status: Runtime Error

Solution code:
r = int(input())
print(3 * a ** 2)

Submission status: Runtime Error

Solution code:
r = map(int, input().split())

print(3*r*r)

Submission status: Runtime Error

Solution code:
sys.stdin = f
r = int(input())
ans = 3*r*r
print(ans)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
print(0--a//b)

Submission status: Runtime Error

Solution code:
S = 3*(r**2)

Submission status: Runtime Error

Solution code:
r = input()
print(3 * r * r)

Submission status: Runtime Error

Solution code:
Input = input()

Result = 3*Input**2

print(Result)

Submission status: Runtime Error

Solution code:
r = input(int())
print(3 * r ** 2)

Submission status: Runtime Error

Solution code:
r = int(input())
print(3*a**2)

Submission status: Runtime Error

Solution code:
r = input()

print(3*r*r)

Submission status: Runtime Error

Solution code:
r = int(input())80

a = r
ans = 3 * a * a
print(ans)

Submission status: Runtime Error

Solution code:
r = int(input())
print(3r^2)

Submission status: Runtime Error

Solution code:
r = int(input)
print(3r^2)

Submission status: Runtime Error

Solution code:
r = input(int())
print(3 * r ** 3)

Submission status: Runtime Error

Solution code:
print((input()**2)*3)

Submission status: Runtime Error

Solution code:
r = input()
print(2 * r * r)

Submission status: Runtime Error

Solution code:
r = int(input())
print(3*a*a)

Submission status: Runtime Error

Solution code:
N = int(input())
print(3*a**2)

Submission status: Runtime Error

Solution code:
S = int(input()
print(3 * S * S)

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <deque>
#include <bitset>
#include <algorithm>
#include <complex>
#include <array>
using namespace std;
 
#define REP(i,n) for(int i=0; i<n; ++i)
#define FOR(i,a,b) for(int i=a; i<=b; ++i)
#define FORR(i,a,b) for (int i=a; i>=b; --i)
#define ALL(c) (c).begin(), (c).end()
 
typedef long long ll;
typedef vector<int> VI;
typedef vector<ll> VL;
typedef vector<VI> VVI;
typedef vector<VL> VVL;
typedef pair<int,int> P;
typedef pair<ll,ll> PL;
typedef vector<double> VD;
typedef vector<VD> VVD;

template<typename T> void chmin(T &a, T b) { if (a > b) a = b; }
template<typename T> void chmax(T &a, T b) { if (a < b) a = b; }

int in() { int x; scanf("%d", &x); return x; }
ll lin() { ll x; scanf("%lld", &x); return x; }

int main() {
    int x = in();
    cout << 3 * x * x << endl;
    return 0;
}

Submission status: Runtime Error

Solution code:
 r = int(input())
 
 print(3*r*r)

Submission status: Runtime Error

Solution code:
r = int(input())
pritn(3*r**2)