#!/usr/bin/env python3

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

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

print((r**2))
#!/usr/bin/env python3
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(eval(input()))
print((r**2))

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

-#!/usr/bin/env python3 -import sys, math - -input = lambda: sys.stdin.buffer.readline().rstrip().decode("utf-8") -sys.setrecursionlimit(10**8) -inf = float("inf") -ans = count = 0