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):
from collections import defaultdict,deque, Counter
import sys,heapq,bisect,math,itertools,string,queue,copy,time
import numpy as np
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

n = inp()
print(3*n*n)

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

print(3*(r**2))

Solution (Python):
"""
author : halo2halo
date : 13,Nov,2019
"""

import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

print(3*int(read())**2)

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

Solution (Python):
import sys
input = sys.stdin.readline
def print_ans(r):
    """Test Case
    >>> print_ans(4)
    48
    >>> print_ans(15)
    675
    >>> print_ans(80)
    19200
    """
    print(3 * (r ** 2))

if __name__ == '__main__':
    r = int(input().rstrip())
    print_ans(r)

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

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

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*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):
a=int(input())
print(3*a*a)

Solution (Python):

import sys
def input():
    return sys.stdin.readline().rstrip()

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())

ans = 3 * 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):
n = int(input())

print(3 * (n ** 2))

Solution (Python):

R =input ()

R =int(R)

print (3*R*R)

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

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):
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):
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7
input=lambda :sys.stdin.readline().rstrip()
def resolve():
    r=int(input())
    print(3*r*r)
resolve()

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):
a = int(input())

print(3*a**2)

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

Solution (Python):
import unittest


class TestA(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think(4), 48)

    def test_2(self):
        self.assertEqual(think(15), 675)

    def test_3(self):
        self.assertEqual(think(80), 19200)


def solve():
    r = read()
    result = think(r)
    write(result)


def read():
    return read_int(1)[0]


def read_int(n):
    return list(map(lambda x: int(x), read_line().split(' ')))[:n]


def read_float(n):
    return list(map(lambda x: float(x), read_line().split(' ')))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


def think(r):
    return 3 * r ** 2


def write(result):
    print(result)


if __name__ == '__main__':
    
    solve()

Solution (Python):



r = int(input())

print(3*r**2)

Solution (Python):
r = int(input().strip())
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):
n = int(input())
print(3*n*n)

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

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

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

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

S = 3 * r**2

print(S)

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

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

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 ** 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*r)

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

s = 3*a*a

print(s)

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

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

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**2)

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

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

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

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(3*r*r)

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

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):
r = int(input())
print(3*r**2)

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

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

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

print(3*(r**2))

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

answer = 3 * R ** 2
print(answer)

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**2)

Solution (Python):
print(3*int(input())**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):
r = int(input())

S = 3*r*r

print(S)

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())

ans = 3*r*r
print(ans)

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

print(3 * r * r)

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):
def main():
    r = int(input())
    print(3*r**2)


if __name__ == '__main__':
    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**2))

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

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

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

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

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

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

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

Solution (Python):
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):
print(3*int(input())**2)

Solution (Python):
import math

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

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

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

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**2)

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 **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**2)

Solution (Python):
print(3*int(input())**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*r)

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):
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**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**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):
r=int(input())
print(3*r*r)

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

print(3*r**2)

Solution (Python):
import sys
def input():
    return sys.stdin.readline()[:-1]

r = int(input())

print(3 * (r**2))

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

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

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

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

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

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

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

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 * 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):
def solve():
    r = int(input())
    print(3*r*r)

solve()

Solution (Python):

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

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    r = int(input().rstrip('\n'))
    print(3 * r ** 2)


if __name__ == '__main__':
    slove()

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

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**2))

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

print(3*r*r)

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

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

Solution (Python):
def main():

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

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

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

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

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

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

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

print(3 * input_ ** 2)

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

S = 3 * a**2

print(S)

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

Solution (Python):



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


if __name__ == '__main__':
    main()

Solution (Python):
def main():
    r, = map(int, open(0).read().split())

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

if __name__ == '__main__':
    main()

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

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

print(3 * r * r)

Solution (Python):



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

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):

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

Solution (Python):

print(3*(int(input())**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 * r)

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

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

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

Solution (Python):
print(3*int(input())**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):
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):
print(3*(int(input()))**2)

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

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

Solution (Python):
print(3 * pow(int(input()), 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):
r = int(input())

print(3*r**2)

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

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

print( 3 * a ** 2)

Solution (Python):

import sys


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


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    r = int(next(tokens))  
    solve(r)


if __name__ == "__main__":
    main()

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(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 ** 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):
print(3*int(input())**2)

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

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

d = (r ** 2)*3

print(d)

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(r*r*3)

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

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

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

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

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

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

print(3*r**2)

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):
r = int(input())
print (3 * r * r )

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())

result = 3 * r * r

print(result)

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

print(3 * pow(r, 2))

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):
print(3*int(input())**2)

Solution (Python):

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

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

Solution (Python):
a = int(input())
print((a**2)*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**2))

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

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

Solution (Python):
n = int(input())
print(3*n**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):
r = int(input())

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

Solution (Python):

import sys
sys.setrecursionlimit(10 ** 7)


def solve(r: int):
    print(3 * r ** 2)
    return




def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    r = int(next(tokens))  
    solve(r)


if __name__ == '__main__':
    main()

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):
print(3*int(input()
         )**2
     )

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

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

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

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

Solution (Python):
print(3*(int(input()))**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**2))

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

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

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

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):
def func():
    input_num = int(input(''))
    return 3*input_num**2


if __name__ == "__main__":
    print(func())

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**2)

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

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

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

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

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

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

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(int(3 * (r ** 2)))

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

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

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):
print(3*int(input())**2)

Solution (Python):
print(3*int(input())**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**2))

Solution (Python):
print(int(input())**2*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 * r)

Solution (Python):
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
n=int(input())

s=3*(n**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())
answer=3*r**2
print(answer)

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

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

print(3 * r**2)

Solution (Python):

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

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

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

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

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

Solution (Python):
while True:
    try:
        r = int(input())
        print(3* r**2)
    except:
        break

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

print(3*r*r)

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

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

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

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):
def main():
    r = int(input())

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

if __name__ == '__main__':
    main()

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

Solution (Python):
from sys import stdin

r = int(stdin.readline().rstrip())
print(3*r*r)

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

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

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

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

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):
print(3*(int(input()))**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**2)

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):
a = int(input())
print(3*a*a)

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

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*r))

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):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b



def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2



def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)



def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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(int(3*r**2))

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

Solution (Python):


r = int(input())

print(3 * r ** 2)

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

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

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    r = int(input().rstrip('\n'))
    print(3 * r ** 2)


if __name__ == '__main__':
    slove()

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

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

print(3*a*a)

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

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

Solution (Python):
n = int(input())
print(n**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*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())

ans = 3*r**2

print(ans)

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

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

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

ans = 3*a*a
print(ans)

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):
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 = r**2*3
print(ans)

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=input()
r=int(r)
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())
area = 3 * r ** 2
print(area)

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):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  

r = ni()
print(3 * r * r)

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

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

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

Solution (Python):
r = int(input())
print(int(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):
from sys import stdin

n = int(stdin.readline().rstrip())
print(3*n**2)

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

Solution (Python):
print(3*(int(input().strip())**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(3 * (r ** 2))

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

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

Solution (Python):

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

print(ans)

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):
print(3*int(input())**2)

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

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

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

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

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):
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())
print(3*r*r)

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

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

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 ** 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):
print(3*(int(input()))**2)

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):
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**2)

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

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

Solution (Python):

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

Solution (Python):

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

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

Solution (Python):
def solve():
    print(3 * pow(int(input()), 2))


if __name__ == "__main__":
    solve()

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

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

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

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

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

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

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

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

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(*map(lambda x: 3 * x ** 2, [int(input())]))

Solution (Python):
r = int(input())
if 1 <= r <= 100:
    print(3 * r * r)
else:
    print('Invalid value')

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

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

Solution (Python):
print(3*int(input())**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(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**2)

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

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

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

Solution (Python):

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

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):
print(3*(int(input())**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):
n=int(input()); print(3*(n**2))