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

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

"""
Created on Sat Mar 28 17:31:17 2020

@author: Kanaru Sato
"""

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

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

print(3*(r**2))

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

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

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

main()

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

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

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

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

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

s = 3 * (r * r)

print(s)

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 * pow(r,2))

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

print(3*s**2)

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

Solution (Python):


r = int(input())

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

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

Solution (Python):












r = int(input())

ans = 3*r**2

print(ans)

Solution (Python):
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

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

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

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

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

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

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

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

import sys


def solve(r: int):
    return



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

if __name__ == '__main__':
    main()

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

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

r = int(input())

print(3 * r * r)

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

Solution (Python):

import sys


def solve(r: int):
    return



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

if __name__ == '__main__':
    main()

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

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

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

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

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

Solution (Python):
def solve():
    N = int(input())
    return 3*N*N

print(solve())

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

Solution (Python):

"""
A - Dodecagon
https://atcoder.jp/contests/abc134/tasks/abc134_a

"""
import sys


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


def main(args):
    r = int(input())
    ans = solve(r)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

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

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

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

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

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

Solution (Python):
import math
import sys


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

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

Solution (Python):


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

    area = 3 * r * r

    print(area)

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

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

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

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

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

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

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

if __name__ == "__main__":
    main()

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

r = int(stdin.readline().rstrip())

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

print(3 * (a ** 2))

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

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

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

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

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

print(3 * (n ** 2))

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

print(3 * r ** 2)

Solution (Python):





import sys

ipti = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)

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

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

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

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

print(3*r**2)

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

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

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

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

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

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

print(3*r**2)

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

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):
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):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
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

r = INT()

print(3*(r**2))

Solution (Python):
import sys

r = int(sys.stdin.readline().rstrip())

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

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

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

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

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

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

print(3 * (r ** 2))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




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

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

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

print(3 * N ** 2)

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

Solution (Python):



import sys
input = sys.stdin.readline


def solve(N):
    return 3 * N ** 2


N = int(input())











print(solve(N))

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

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

Solution (Python):

import sys
sys.setrecursionlimit(10000000)
INF = 1<<32


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

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

print(3*r*r)

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

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):
import sys
row = sys.stdin.readline
def read_int(row):
    return int(row().rstrip())
  
r= read_int(row)
print(int( 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 * 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((r**2)*3)

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

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

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

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

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):
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*pow(r,2))

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

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

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

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

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

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

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

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

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


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):


num = int(input().rstrip())
print(3 * num * num)

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

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

Solution (Python):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    r=INT()
    print(3*r*r)
if __name__ == '__main__':
    do()

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

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

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


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

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

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

print(3*r*r)

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

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

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

a = int(stdin.readline().rstrip())

print(a**2*3)

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

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

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

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):
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
def input(): return sys.stdin.readline().rstrip()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

print(3*r**2)

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

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

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

Solution (Python):
def dodecagon(r: int)->int:
    return 3*(r**2)


if __name__ == "__main__":
    r = int(input())
    ans = dodecagon(r)
    print(ans)

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

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

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

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

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

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

Solution (Python):


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

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

print(3*N*N)

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

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

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

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

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

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

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

Solution (Python):

import sys, math, itertools, heapq, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0

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

Solution (Python):

import math
import datetime





r = int(input())

print (3*r*r)

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

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

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

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

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

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

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

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

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

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

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

ans = 3*r**2

print(ans)

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

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

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

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

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

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

ans = r * r * 3

print(ans)

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

ans = r * r * 3

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

Solution (Python):

import sys, math
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans=count=0

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

Solution (Python):

import sys, math
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans=count=0

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

Solution (Python):

import sys, math
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans=count=0

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

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

Solution (Python):

import sys










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


if __name__ == "__main__":
    main()

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