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

Solution (Python):

import sys
from operator import itemgetter
from fractions import gcd
from math import ceil, floor, sqrt
from copy import deepcopy
from collections import Counter, deque, defaultdict
import heapq
from functools import reduce
sys.setrecursionlimit(200000)
input = sys.stdin.readline
def ii(): return int(input())
def mi(): return map(int, input().rstrip().split())
def lmi(): return list(map(int, input().rstrip().split()))
def li(): return list(input().rstrip())
def debug(*args, sep=" ", end="\n"): print("debug:", *args, file=sys.stderr, sep=sep, end=end) if not __debug__ else None
def exit(*arg): print(*arg); sys.exit()


def main():
    r = ii()
    print(3 * r**2)

if __name__ == '__main__':
    main()

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

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

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

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

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

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

Solution (Python):
def solve(r: int):
  s = 3 * r * r
  print(s)

if __name__ == '__main__':
  r = int(input())
  solve(r)

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

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

Solution (Python):
r=int(input())
ans=3*r*r
print(ans)

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

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

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

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

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

Solution (Python):
r = int(input())
print(str(3 * r * r))

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

Solution (Python):
rand = int(input())
print(3*rand**2)

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

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

Solution (Python):
def main():
  print(int(input()) ** 2 * 3)


if __name__ == '__main__':
  main()

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
r = int(input())

print(3 * r * r)

Solution (Python):
print(int(input())**2 *3)

Solution (Python):
R = int(input())

print(3*R*R)

Solution (Python):
a = input()
print (3*int(a)*int(a))

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

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

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

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
print(int(input())**2 * 3)

Solution (Python):
R = int(input())

print(3 * (R ** 2))

Solution (Python):
x=int(input())
print(3*x*x)

Solution (Python):
n = int(input())
print(3*n**2)

Solution (Python):
Input =  int(input())

if 1<=Input<=100:
  Result = 3*Input**2

print(Result)

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

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
str = input()
int = int(str)
print(3*int*int)

Solution (Python):
print 3 * int(raw_input()) ** 2

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):
def acinput():
    return list(map(int, input().split(" ")))


a=int(input())

print(3*(a**2))

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

Solution (Python):
n = int(input())
print(3*n**2)

Solution (Python):
a=int(input())
print(3*a*a)

Solution (Python):
a = int(input())
m = 3*a**2
print(m)

Solution (Python):
def resolve():
    r = int(input())

    print('{}'.format(r**2*3))
    
resolve()

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

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

Solution (Python):


import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

def main():
  r=I()
  return 3*r*r


print(main())

Solution (Python):
a = int(input())
print(3*a*a)

Solution (Python):
r = int(input())

print(3*(r**2))

Solution (Python):
print(int(input())**2*3)

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

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

Solution (Python):
print(3*(int(input())**2))

Solution (Python):




r = int(input())


ans = 3 * r ** 2


print(ans)

Solution (Python):
import sys
r = int(input());
ans = 3*r*r;
print(ans);

Solution (Python):
t = int(input())
print(3*t*t)

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

Solution (Python):
a = int(input())
print(3*a*a)

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

Solution (Python):
r = int(input())
area = 3*r*r
print(area)

Solution (Python):


n = int(input())

print(3 * (n ** 2))

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

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

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

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

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

Solution (Python):
def main():
	x = int(input())
	result = x * x * 3
	print(result)

    
main()

Solution (Python):
import sys


		
def main():
	a = int(input())
	print(3*a*a)
	
	


if __name__ == "__main__":
	if sys.platform =='ios':
		sys.stdin=open('inputFile.txt')
	else:
		input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
a = int(input())

print(3 * (a ** 2))

Solution (Python):
r = int(input())

print(3*r*r)

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

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

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

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

Solution (Python):
print(3*int(input())**2)

Solution (Python):
from sys import stdin


def main():
    r = int(stdin.readline().rstrip())

    print(3*r*r)


if __name__ == "__main__":
    main()

Solution (Python):
n = int(input())
print(3*(n**2))

Solution (Python):
if __name__ == '__main__':
    r = int(input())
    print(3 * r * r)

Solution (Python):
R =int(input())
print(3*R**2)

Solution (Python):
r=int(input())
s=3*r*r
print(s)

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

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

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

Solution (Python):
def inpl():
    return list(map(int, input().split()))


r = int(input())

print(3 * r * r)

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy,copy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

def main():
    r = INT()
    print(3*r*r)

if  __name__=='__main__':
    main()

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

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

Solution (Python):



def solv(r):
    return r*r*3


if __name__ == '__main__':

    r = int(input())

    ans = solv(r)

    print(ans)

Solution (Python):


def main():
    
    
    
    
    
    
    
    
    r = int(input())
    print(3 * r * r)

if __name__=='__main__':
    main()

Solution (Python):
r = int(input())
s = 3 * r * r
print(str(s))

Solution (Python):
r = int(input())
print(str(3*r*r))

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

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

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

Solution (Python):
a = input()
b = 3*(int(a)**2)
print(b)

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

Solution (Python):
import numpy as np

r= int(input())


print(int(np.ceil(np.sin(np.pi/6)*r*r*6)))

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

Solution (Python):
print(3*int(input())**2)

Solution (Python):
a = int(input())
print(3*a*a)

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

Solution (Python):
n = int(input())
print(3*n**2)

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

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

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

Solution (Python):
r=int(input())
k=3*r*r
print(k)

Solution (Python):
n = int(input())
print(3*n*n)

Solution (Python):
r = int(input())

print(3 * r ** 2)

Solution (Python):
print(3 * int(input())**2)

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

Solution (Python):
print(3 * int(input()) ** 2)

Solution (Python):
n=int(input())
print(3*(n**2))

Solution (Python):


from fractions import gcd
from math import ceil,floor
import collections







r = int(input())

print(3 * r * r)

Solution (Python):
n=int(input()) 
a = n*n*3
print(a)

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

Solution (Python):
r = int(input())

result = 3 * r * r

print(result)

Solution (Python):
print(3*int(input())**2)

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

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

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

Solution (Python):
r = int(input())

print(3*r*r)

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

Solution (Python):
r = int(input())

print(3 * (r ** 2))

Solution (Python):
n = int(input())

print(3*n*n)

Solution (Python):
print((int(input())**2)*3)

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

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

Solution (Python):
x=int(input())
print(3*x*x)

Solution (Python):


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


if __name__ == '__main__':
    solve()

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

Solution (Python):
x=int(input())
print(3*x*x)

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

Solution (Python):
r = int(input())

print(3 * r * r)

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

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

Solution (Python):
a=int(input())
answer=3*a*a
print(answer)

Solution (Python):
x = input()

print(int(x)*int(x)*3)

Solution (Python):
print(3*int(input())**2)

Solution (Python):
import sys

r = int(sys.stdin.readline())
a = 3 * (r**2)
print(a)

Solution (Python):
r = int(input())
x = r**2
print(str(x*3))

Solution (Python):
r= int(input());
print(3*r*r);

Solution (Python):
r=int(input())
S=3*r*r
print(S)

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

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

Solution (Python):
a = int(input())
res = 3*a*a
print(res)

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

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

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

Solution (Python):
import sys

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

if __name__ == "__main__":
    main()

Solution (Python):
r = int(input())

print(3* r**2)

Solution (Python):
r=int(input())

print(3*r*r)

Solution (Python):
import sys
r = int(sys.stdin.readline().strip())
print(3*r*r)

Solution (Python):
from collections import defaultdict, Counter
import sys
sys.setrecursionlimit(10 ** 5 + 10)

import math



def main():
    num = int(input())

    print(num * num * 3)


if __name__ == '__main__':
    main()

Solution (Python):
r = int(input())


print(3 * r ** 2)

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

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

Solution (Python):
print(3*int(input())**2)

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

Solution (Python):

r = int(input())


print(3*r*r)

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

Solution (Python):
x = int(input())

print(3 * x ** 2)

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):



def ri():
    return int(input())

def rl():
    return list(input().split())

def rli():
    return list(map(int, input().split()))

def main():
    r = ri()
    print(3*r*r)


if __name__ == '__main__':
    main()

Solution (Python):
a=input()
b=int(a)

S=3*b**2

print(S)

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

Solution (Python):
print((int(input())**2)*3)

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

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

Solution (Python):


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

print(ans)

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

Solution (Python):

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

Solution (Python):
from sys import stdin


def main():
    r = int(stdin.readline().rstrip())
    print(3 * r ** 2)


if __name__ == "__main__":
    main()

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):
import numpy as np

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

print(m)

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

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

Solution (Python):
a = int(input())

print(3 * a * a)

Solution (Python):
a=int(input())
print(3*a*a)

Solution (Python):

r=int(input())

print(3*r**2)

Solution (Python):
a1 = int(input())
print(3*a1**2)

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

Solution (Python):
i = int(input())
print(i**2 * 3)

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

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

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

Solution (Python):
print(3 * int(input())**2)

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

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

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

Solution (Python):
r = int(input())

print(3*(r**2))

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

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

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):


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

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

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

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

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

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

Solution (Python):
import numpy as np


def main():
	
	r = int(input())
	print(3*r*r)
	
	
if __name__ == "__main__":
	main()

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):

r = int(input())

print(3 * r ** 2)

Solution (Python):
print(3*int(input())**2)

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

Solution (Python):
a = int(input())
S = 3*a**2
print(S)

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):
from sys import stdin

if __name__ == '__main__':
    r = int(stdin.readline().rstrip())
    print(3*r**2)

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

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

Solution (Python):
r = input()

print(3 * (int(r) ** 2))

Solution (Python):
r = int(input())

print(3*(r**2))

Solution (Python):
r = int(input())
ans = 3*r*r
print(ans)

Solution (Python):
print(3*(int(input())**2))

Solution (Python):
n=int(input())
print(3*n*n)

Solution (Python):
n=int(input())
print(3*ｎ*ｎ)

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

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

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

Solution (Python):



import math

print(int(math.pow(int(input()),2)*3))

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

Solution (Python):
n = int(input())

print(3 * (n ** 2))

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
a = int(input())

print("{}".format(3*a*a))

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

Solution (Python):

def Dodecagon(r):
    print(3*r*r);


if __name__ == "__main__":
    a = int(input());
    Dodecagon(a);

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

Solution (Python):
r = int(input())
print("{}".format(3*r**2))

Solution (Python):
r  = int(input())

print(3 * r * r)

Solution (Python):

def main():
    r = int(input())
    print(3*r*r)
if __name__ == '__main__':
    main()

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

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

Solution (Python):
r = int(input());
V = 3 * r * r
print(V)

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

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
r=int(input())
ans=r*r*3
print(ans)

Solution (Python):
i = list(map(int, input().split()))

print(3*pow(i[0], 2))

Solution (Python):
r = list(map(int, input().split()))
print(3*int(r[0])**2)

Solution (Python):
print(3*(int(input())**2))

Solution (Python):
x=int(input())
print(3*x*x)

Solution (Python):
r=int(input())
ans = 3 * pow(r,2)
print(ans)

Solution (Python):
r = int(input())

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

Solution (Python):

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

Solution (Python):

import sys


import numpy as np

import itertools

"""Template"""


class IP:
    """
    入力を取得するクラス
    """
    def __init__(self):
        self.input = sys.stdin.readline

    def I(self):
        """
        1文字の取得に使います
        :return: int
        """
        return int(self.input())

    def S(self):
        """
        1文字の取得(str
        :return: str
        """
        return self.input()

    def IL(self):
        """
        1行を空白で区切りリストにします(int
        :return: リスト
        """
        return list(map(int, self.input().split()))

    def SL(self):
        """
        1行の文字列を空白区切りでリストにします
        :return: リスト
        """
        return list(map(str, self.input().split()))

    def ILS(self, n):
        """
        1列丸々取得します(int
        :param n: 行数
        :return: リスト
        """
        return [int(self.input()) for _ in range(n)]

    def SLS(self, n):
        """
        1列丸々取得します（str
        :param n: 行数
        :return: リスト
        """
        return [self.input() for _ in range(n)]

    def SILS(self, n):
        """
        Some Int LineS
        横に複数、縦にも複数
        :param n: 行数
        :return: list
        """
        return [self.IL() for _ in range(n)]

    def SSLS(self, n):
        """
        Some String LineS
        :param n: 行数
        :return: list
        """
        return [self.SL() for _ in range(n)]


class Idea:
    def __init__(self):
        pass

    def HF(self, p):
        """
        Half enumeration
        半分全列挙です
        pの要素の和の組み合わせを作ります。
        ソート、重複削除行います
        :param p: list : 元となるリスト
        :return: list : 組み合わせられた和のリスト
        """
        return sorted(set(p[i] + p[j] for i in range(len(p)) for j in range(i, len(p))))

    def Bfs2(self, a):
        """
        bit_full_search2
        bit全探索の改良版
        全探索させたら2進数のリストと10進数のリストを返す
        :return: list２つ : １個目 2進数(16桁)  2個目 10進数
        """
        
        
        
        value = []
        for i in range(1 << len(a)):
            output = []

            for j in range(len(a)):
                if self.bit_o(i, j):
                    """右からj+1番目のiが1かどうか判定"""
                    
                    output.append(a[j])
            value.append([format(i, 'b').zfill(16), sum(output)])

        value.sort(key=lambda x: x[1])
        bin = [value[k][0] for k in range(len(value))]
        val = [value[k][1] for k in range(len(value))]
        return bin, val

    def S(self, s, r=0, m=-1):
        """
        ソート関係行います。色々な設定あります。
        :param s: 元となるリスト
        :param r: reversするかどうか 0=False 1=True
        :param m: （2次元配列）何番目のインデックスのソートなのか
        :return: None
        """
        r = bool(r)
        if m == -1:
            s.sort(reverse=r)
        else:
            s.sort(reverse=r, key=lambda x: x[m])

    def bit_n(self, a, b):
        """
        bit探索で使います。0以上のときにTrue出します
        自然数だからn
        :param a: int
        :param b: int
        :return: bool
        """
        return bool((a >> b & 1) > 0)

    def bit_o(self, a, b):
        """
        bit探索で使います。1のときにTrue出すよ
        oneで1
        :param a: int
        :param b: int
        :return: bool
        """
        return bool(((a >> b) & 1) == 1)

    def ceil(self, x, y):
        """
        Round up
        小数点切り上げ割り算
        :param x: int
        :param y: int
        :return: int
        """
        return -(-x//y)

    def ave(self, a):
        """
        平均を求めます
        :param a: list
        :return: int
        """
        return sum(a) / len(a)

    def gcd(self, x, y):
        if y == 0:
            return x
        else:
            return self.gcd(y, x % y)

    def lcm(self, x, y):
        return (x * y) // self.gcd(x, y)


"""ここからメインコード"""


def main():
    
    r, e = range, enumerate
    ip = IP()
    id = Idea()
    """この下から書いてね"""
    n = ip.I()
    print(3 * (n**2))



main()

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

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

Solution (Python):
print(int(input().strip())**2*3)

Solution (Python):

r = int(input())

print(3 * r * r)

Solution (Python):
def main():
    n = input()
    print 3 * n * n


if __name__ == '__main__':
    main()

Solution (Python):
if __name__ == '__main__':
    r  = int(input())  
    print(3*r*r)

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

Solution (Python):
r = int(input())

print(r**2*3)

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

Solution (Python):
r = int(input()) 

print(3*(r**2))

Solution (Python):
r = int(input())

print(3 * r ** 2)

Solution (Python):
r = input()
Ans=3*int(r)**2

print(Ans)

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

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

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

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

Solution (Python):
a=float(input())
print(int(3*a*a))

Solution (Python):
print(3*(int(input())**2))

Solution (Python):
import os, sys, re, math

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

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

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

Solution (Python):
import sys
INPUT = sys.stdin.readline

def SORO_INT(): return int(INPUT())
def MULT_INT_LIST(): return list(map(int, INPUT().split()))
def MULT_INT_MAP(): return map(int, INPUT().split())
def SORO_STRING(): return INPUT()
def MULT_STRING(): return INPUT().split()

r = SORO_INT()
x = 3*r*r
print(x)

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

Solution (Python):


s = int(input())

print(3*s*s)

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

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

Solution (Python):
s = int(input())
print(s*s*3)

Solution (Python):
a = input()
a = int(a)

print(3 * a * a)

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

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

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

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

Solution (Python):
r = int(input())

ans=3*r*r

print(ans)

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

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):
print(3*int(input())**2)

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

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

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

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

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

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

Solution (Python):
r = int(input())

print(3 * r **2)

Solution (Python):
a = int(input())
print(3*a*a)

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

Solution (Python):



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

    

if __name__ == '__main__':
    main()

Solution (Python):
r=int(input())

print(3*r**2)

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

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

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

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

Solution (Python):
r = int(input())
ans =3 * r * r
print(ans)

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

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

Solution (Python):
r = int(input())
ans = 3*r*r

print(ans)

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

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

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

Solution (Python):




def main():
    R = int(input())
    print(3*R**2)
    


if __name__ == '__main__':
    main()

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

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

Solution (Python):
r = int(input())
ans = 3 * (r**2)

print(ans)

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

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

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

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

Solution (Python):
print(3*(int(input())**2))

Solution (Python):
r=int(input())

print(3*r*r)

Solution (Python):



r = int(input())


print(3 * r**2)

Solution (Python):



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

Solution (Python):
r = int(input())

ans = 3 * (r** 2)

print(ans)

Solution (Python):
import numpy as np

r = int(input())

print(3*r*r)

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

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

Solution (Python):
def main():
    
    A = int(input())

    print("{}".format((A**2*3)))


if __name__ == "__main__":
    main()

Solution (Python):

radius = input()

radius = int(radius)

S = 3 * radius *radius

print(S)

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

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

Solution (Python):
import io
import sys


def IN_S():
  return input()


def IN_I():
  return int(input())


def IN_L_I():
  return list(map(int, input().split()))


def IN_L_S():
  return list(map(str, input().split()))


def STR_SPLIT(s, n):
  for l in range(0, len(s), n):
    yield s[0 + l:n + l]


def T_IN():
  global test_str
  sys.stdin = io.StringIO(test_str[1:-1])


test_str = '''
80
'''


def MAIN():
  
  A()


def A():
  r = IN_I()
  print (3 * r * r)
  return None
 

def B():
  return None


def C():
  return None


MAIN()

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

Solution (Python):
print(3*int(input())**2)

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

Solution (Python):
a = int(input())

print(3*a**2)

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

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):
r=int(input())

print(3*r*r)

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

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

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
radius = int(input())
print(3 * (radius**2))

Solution (Python):
import sys,collections as cl,bisect as bs,math
sys.setrecursionlimit(100000)
Max = sys.maxsize
def l(): 
	return list(map(int,input().split()))
def m(): 
	return map(int,input().split())
def onem(): 
	return int(input())
def s(x): 
	a = []
	aa = x[0]
	su = 1
	for i in range(len(x)-1):
		if aa == x[i+1]:
			a.append([aa,su])
			aa = x[i+1]
			su = 1
		else:
			su += 1
	a.append([aa,su])
	return a
def jo(x): 
	return " ".join(map(str,x))
def max2(x): 
	return max(map(max,x))

n = onem()

print(3 * n* n)

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

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

Solution (Python):
r = int(input())

ans = 3 * r * r
print(ans)

Solution (Python):

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

Solution (Python):
rad=int(input())
print(rad*rad*3)

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

Solution (Python):
r = int(input())

print(3*r**2)

Solution (Python):
r=int(raw_input())
print 3*r*r

Solution (Python):
a = int(input())

print(3*(a**2))

Solution (Python):
r = int(input())
s = 3 * r * r
print(s)

Solution (Python):
r = int(input())

print(3 * (pow(r, 2)))

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

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

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

Solution (Python):
print(3*int(input())**2)

Solution (Python):


import os
import sys

r = int(input())

print(3 * r * r)

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

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

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

Solution (Python):
n = input()
n=int(n)
print(3*n*n)

Solution (Python):
r = int(input())

print(3*r*r)

Solution (Python):
def main():
    r = int(input())

    print(3 * r ** 2)

    return


if __name__ == "__main__":
    main()

Solution (Python):
r = int(input())

s = 3 * (r ** 2)

print(s)

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

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

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

Solution (Python):
r = int(input())

print(3*(r**2))

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

Solution (Python):
r = int(input())

print(3*r**2)

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

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

Solution (Python):
def main():
    r = int(input())
    return 3 * r * r


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

Solution (Python):
r = int(input())

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

Solution (Python):
a = int(input())
print (3 * a * a)

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

Solution (Python):
r = int(input())

print(3 * r**2)

Solution (Python):
r=int(input())

print(3*r**2)

Solution (Python):
n = int(input())
print(3*(n*n))

Solution (Python):
r = int(input())

print(3 * r**2)

Solution (Python):
from sys import stdin

r = int(stdin.readline())

print(3*r**2)

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

Solution (Python):
r = int(input())

s = 3*r*r

print(s)

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

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

Solution (Python):
r = int(input())
s = 3 * r * r
print(s)

Solution (Python):
r = int(input())
ans = 3 * r * r
print(ans)

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

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

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

Solution (Python):
r = int(input())

print(3 * (r**2))

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

Solution (Python):
s = int(input())
print(3*s*s)

Solution (Python):



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

Solution (Python):
s=int(input())
print(3*(s**2))

Solution (Python):
r = int(input())

print(r*r*3)

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

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

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

Solution (Python):
print(3*int(input())**2)

Solution (Python):
import sys

input = sys.stdin.readline
r = int(input())
print(3*r**2)

Solution (Python):
print(3*(int(input())**2))

Solution (Python):
a = int(input())
print(3*a*a)

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

Solution (Python):
n = int(input())
print(3*n*n)

Solution (Python):
a = int(input())
ans = 3*(a**2)
print(ans)

Solution (Python):
def main():
    r  = int(input())
    ans = 3*(r**2)
    print(ans)

main()

Solution (Python):
r = int(input())

print(3 * r * r)