Felix6326727/beyond-accuracy-code-comprehension huggingface dataset:
a = int(input())
b = int(input())
print(a*a-b)

# Example run
# Input:
-19555
-47187920
# Output:
429585945
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
19
-4868286
# Output:
4868647
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
-20720
-1
# Output:
429318401
# -*- coding: utf-8 -*-

n = int(input())
a = int(input())

print(n**2-a)


# Example run
# Input:
-213058
-83
# Output:
45393711447
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
4159
9088477
# Output:
8208804
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
-1
-3439167
# Output:
3439168
n = int(input())
w = int(input())

print(n - w)

# Example run
# Input:
20
177
# Output:
-157
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-29082932
-11385106
# Output:
845816945101730
n = int(input())**2
a = int(input())
print(n - a)

# Example run
# Input:
-16371
-52564348
# Output:
320573989
n = int(input())
m = int(input())
print(n**2 - m)

# Example run
# Input:
7
-428
# Output:
477
N = int(input())
K = int(input())
x = [int(i) for i in input().split()]

ans = 0
for xi in x:
    if xi < K//2:
        ans += xi*2
    else:
        ans += (K-xi)*2
print(ans)  

# Example run
# Input:
170212
1806017
224319
# Output:
448638
n = int(input())
a = int(input())
print(n**2-a)


# Example run
# Input:
-70037
-1002
# Output:
4905182371
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
2851
108968
# Output:
8019233
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
1959
58
# Output:
3837623
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
0
-13178
# Output:
13178
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
-3750
-4990296
# Output:
19052796
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
1
-11909
# Output:
11910
n = int(input())
a = int(input())
print(n ** 2  - a)

# Example run
# Input:
106248295
-2147483648
# Output:
11288702337890673
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-23909
-68
# Output:
571640349
N = int(input())
A = int(input())

ans = N**2-A
print(ans)

# Example run
# Input:
-21
6534
# Output:
-6093
N = int(input())
A = int(input())
print (N * N - A)

# Example run
# Input:
298151
-755
# Output:
88894019556
n = int(input())
a = int(input())

print(n * n - a)


# Example run
# Input:
-63
-213058
# Output:
217027
N = int(input())
A = int(input())
print(N**2-A)


# Example run
# Input:
-1377730
25086089
# Output:
1898114866811
N = int(input())
print(N**2 - int(input()))


# Example run
# Input:
82157
119781
# Output:
6749652868
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-101
18995781
# Output:
-18985580
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-7467726
1372619017
# Output:
55765558992059
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-1595467139
3280
# Output:
2545515391628842041
n = int(input())
a = int(input())
print(n ** 2 - a)

# Example run
# Input:
-1
-3439167
# Output:
3439168
a = int(input())
b = int(input())
print(a ** 2 - b)

# Example run
# Input:
0
-6956
# Output:
6956
N = int(input())
A = int(input())

print(N**2- A)

# Example run
# Input:
-668005
627539
# Output:
446230052486
N = int(input())
A = int(input())
print(N*N - A)

# Example run
# Input:
28016
-48
# Output:
784896304
N = int(input())
A = int(input())

print(N*N - A)

# Example run
# Input:
10132764
274829
# Output:
102672906004867
n = int(input())
a = int(input())

print((n*n)-a)

# Example run
# Input:
1
13
# Output:
-12
N = int(input())
A = int(input())

print((N*N)-A)

# Example run
# Input:
23587
2
# Output:
556346567
n = int(input())
a = int(input())
print(n * n - a)

# Example run
# Input:
-1119
13107
# Output:
1239054
n = int(input())
a = int(input())
print((n ** 2) - a)

# Example run
# Input:
-1
-3439167
# Output:
3439168
a = int(input())
b = int(input())
print((a**2)-b)

# Example run
# Input:
-2239572
-31
# Output:
5015682743215
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
1
-12962834
# Output:
12962835
n=int(input())
a=int(input())

print(int(n**2-a))

# Example run
# Input:
20480
1510792572
# Output:
-1091362172
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-170
-478262
# Output:
507162
def main():
    N = int(input())
    A = int(input())

    print(N ** 2 - A)

if __name__ == '__main__':
    main()


# Example run
# Input:
157
1522
# Output:
23127
NUM = int(input())
K = int(input())
POS = list(map(int, input().split()))
sum = 0
for i in POS:
    a = pow(i, 2)
    b = pow(abs((i - K)), 2)
    sum += min(a, b)
print(sum)



# Example run
# Input:
-15220
71127
-3515890
# Output:
12361482492100
N = int(input())
A = int(input())
print(N*N - A)

# Example run
# Input:
-588452319
84
# Output:
346276131736477677
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
-345973716
-2147483648
# Output:
119697814310332304
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
141725276
-109089799
# Output:
20086053966365975
n = int(input())
a = int(input())

print(n**2 -a)

# Example run
# Input:
2653902
-5271130
# Output:
7043201096734
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-3
-2260822
# Output:
2260831
N = int(input())
A = int(input())

print(N**2 - A)

# Example run
# Input:
-53605951
3
# Output:
2873597982614398
N=int(input())
A=int(input())
print(N**2 - A)

# Example run
# Input:
1
-1012372
# Output:
1012373
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
1226406
1
# Output:
1504071676835
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
123746462
70303
# Output:
15313186857447141
n = int(input())
a = int(input())
print(n**2 - a)
	

# Example run
# Input:
-56834839
1288
# Output:
3230198924154633
N=int(input())
A=int(input())
ans=(N**2 -A)
print(ans)

# Example run
# Input:
644
-347
# Output:
415083
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
0
-6956
# Output:
6956
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
-80
19
# Output:
6381
n = int(input())
m = int(input())
print(n**2-m)

# Example run
# Input:
-3
988493674
# Output:
-988493665
A = int(input())
B = int(input())

print(A**2 - B)

# Example run
# Input:
-19555
-47187920
# Output:
429585945
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
7802
1003567683
# Output:
-942696479
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
9
392
# Output:
-311
#get input
N = int(input())
A = int(input())
#get the total 
N_Squares = N*N

W_Squares = N_Squares - A

print (W_Squares)

# Example run
# Input:
-39
2569
# Output:
-1048
N = int(input())
A = int(input())
T = N ** 2 - A
if N<100 :
    print(T)
else :
    print(0)

# Example run
# Input:
-1
-217064188
# Output:
217064189
N=int(input())
A=int(input())
print(N**2-A)


# Example run
# Input:
3
-1
# Output:
10
n = int(input())
a = int(input())
print(n*n-a)


# Example run
# Input:
28
197766
# Output:
-196982
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
14508349
-252699780
# Output:
210492443405581
a = int(input())
b = int(input())

print(a^2 - b)

# Example run
# Input:
4
4
# Output:
-6
n = int(input())
a = int(input())
print(n*n-a)


# Example run
# Input:
-92573170
8030667
# Output:
8569791795818233
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-42600
2116
# Output:
1814757884
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
1
13
# Output:
-12
# -*- coding: utf-8 -*-
#全体のマス目の数
N1 = int( input() )
N = N1 ** 2
#白く塗るマス目の数
A = int( input() )
#黒く塗るマス目の数
print( N - A )

# Example run
# Input:
-18231
54
# Output:
332369307
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
15713127
-1596917
# Output:
246902361715046
N = int(input())
A = int(input())
print((N**2) - A)

# Example run
# Input:
1115599
-206075
# Output:
1244561334876
n = int(input())
paint = int(input())
print(n**2-paint)

# Example run
# Input:
-235202
-473
# Output:
55319981277
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
14868324
-2925
# Output:
221067058571901
A=int(input())
B=int(input())
print(A*A-B)

# Example run
# Input:
5378
1198832728
# Output:
-1169909844
N=int(input())
A=int(input())
print(N*N-A)


# Example run
# Input:
6395997
20415230
# Output:
40908757208779
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
1
-41472
# Output:
41473
N = int(input())
print(N**2-int(input()))

# Example run
# Input:
96
29327
# Output:
-20111
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
74440198
-450
# Output:
5541343078279654
N = int(input())
A = int(input())

print(N ** 2 -A)

# Example run
# Input:
57223618
-62350830
# Output:
3274542519360754
def i():
	return int(input())
def i2():
	return map(int,input().split())
def s():
	return str(input())
def l():
	return list(input())
def intl():
	return list(int(k) for k in input().split())
n = i()
a = i()
print( n**2 - a)

# Example run
# Input:
7479
8023619
# Output:
47911822
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-14
-31081879
# Output:
31082075
n = int(input())
a = int(input())
print(n**2-a)


# Example run
# Input:
-16733
-18850
# Output:
280012139
n = int (input ())
a = int (input ())
print (n**2-a)

# Example run
# Input:
-5654
161
# Output:
31967555
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-32520755
-4
# Output:
1057599505770029
N = int(input())
A = int(input())
print(N ** 2 - A)


# Example run
# Input:
-54
981571
# Output:
-978655
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
10
-7617
# Output:
7717
n=int(input())
k=int(input())
l=[int(x) for x in input().split()]
s=0
for i in range(n):
  if abs(l[i]-k)>abs(l[i]):
    s+=abs(l[i])
  else:
    s+=abs(l[i]-k)
print(s*2)
  


# Example run
# Input:
0
2024
-13
# Output:
0
n = int(input())
a = int(input())
ans = n ** 2 - a
print(ans)


# Example run
# Input:
1
-38175
# Output:
38176
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
6
-90
# Output:
126
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-61649978
-17
# Output:
3800719787400501
n = int(input())
a = int(input())

print(n**2 - a)


# Example run
# Input:
-221907
-154
# Output:
49242716803
# input
N = int(input())
A = int(input())

print(N ** 2 - A)

# Example run
# Input:
5183902
18
# Output:
26872839945586
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-241292
-2147483648
# Output:
60369312912
n = int(input())
a = int(input())

print(n*n-a)


# Example run
# Input:
-32152
1612446667
# Output:
-578695563
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
158214411
476822989
# Output:
25031799371253932
# -*- coding: utf-8 -*-S
N = int(input())
A = int(input())

B = N * N - A
print(B)


# Example run
# Input:
-2
-2701677
# Output:
2701681
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
12270
810667242
# Output:
-660114342
n = int(input())
a = int(input())

print(n**2-a)

# Example run
# Input:
133233772
1813543
# Output:
17751237999534441
N = int(input())
A = int(input())

print(N ** 2 - A)

# Example run
# Input:
-1
-3439167
# Output:
3439168
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-18231
54
# Output:
332369307
n = int(input())
a = int(input())
print(n**2-a)


# Example run
# Input:
-14
-31081879
# Output:
31082075
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-12
242208
# Output:
-242064
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
7
-3240
# Output:
3289
# -*- coding: utf-8 -*-

n = int(input())
a = int(input())

print(n*n - a)

# Example run
# Input:
-6940
6118
# Output:
48157482
# -*- coding: utf-8 -*-
# 入力
#N = str(input())
# スペース区切りの整数の入力
#N, A = map(int, input().split())

N = int(input())
A = int(input())

print (N**2 -A)


# Example run
# Input:
-6616
-327
# Output:
43771783
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
7883823
0
# Output:
62154665095329
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
13356
-2040
# Output:
178384776
n = int(input().split()[0])
a = int(input().split()[0])
print(n*n - a)


# Example run
# Input:
601
-331
# Output:
361532
# -*- coding: utf-8 -*-

n = int(input())
a = int(input())

print((n * n) - a)

# Example run
# Input:
-27
230
# Output:
499
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-39101812
54914054
# Output:
1528951646769290
i=int(input())
s=int(input())
print(i*i-s)

# Example run
# Input:
1
-12503953
# Output:
12503954
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
-1
-3439167
# Output:
3439168
#74
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-1
-3439167
# Output:
3439168
n = int(input())
a = int(input())
print(n*n - a)

# Example run
# Input:
-52564348
-7737
# Output:
2763010680672841
N = int(input())
A = int(input())
 
print(pow(N, 2) - A)

# Example run
# Input:
2180
13
# Output:
4752387
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-11329
-25867257
# Output:
154213498
a = int(input())
b = int(input())

print(a**2 - b)

# Example run
# Input:
1
0
# Output:
1
n=int(input())
a=int(input())

n1=n*n

b=n1-a

print(b)


# Example run
# Input:
1947279
-4
# Output:
3791895503845
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
104248
-291704
# Output:
10867937208
N=int(input())
A=int(input())
print(N*N-A)


# Example run
# Input:
44169557
2069520666
# Output:
1950947696055583
N = int(input())
A = int(input())
print(N*N-A)


# Example run
# Input:
11
-40
# Output:
161
def main():
    n = int(input())
    a = int(input())
    ans = n**2 - a
    print(ans)


if __name__ == "__main__":
    main()


# Example run
# Input:
-5059717
43064
# Output:
25600736077025
n = int(input())
a = int(input())
x = n**2 - a
if x >= 0:
    print(x)
else:
    print(0)


# Example run
# Input:
177
201
# Output:
31128
def bichromeCells(n, a):
    return n*n -a


def main():
    n = int(input())
    a = int(input())
    print(bichromeCells(n, a))

main()


# Example run
# Input:
-572778325
-6
# Output:
328075009589805631
N = int(input())
A = int(input())

print(N**2 -A)

# Example run
# Input:
-893630
-3662
# Output:
798574580562
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
252889820
-7487220
# Output:
63953261067119620
a = int(input())
b = int(input())
print(a**2 - b)

# Example run
# Input:
-1
-3439167
# Output:
3439168
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
1419428
-2147483648
# Output:
2016923330832
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-11
-1985251
# Output:
1985372
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-16371
-52564348
# Output:
320573989
N = int(input())
A = int(input())

answer = (N * N) - A

print(answer)


# Example run
# Input:
-1403621
202670
# Output:
1970151708971
N = int(input())
A = int(input())

ans = N ** 2 - A

print(ans)

# Example run
# Input:
465
-2090237817
# Output:
2090454042
N = int(input())
A= int(input())

ans=N*N-A

print(ans)

# Example run
# Input:
11
5831819
# Output:
-5831698
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
15810
75834
# Output:
249880266
n=int(input())
x=int(input())

print(n*n-x)

# Example run
# Input:
2125879326
14544
# Output:
4519362908714199732
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
-5363
1552
# Output:
28760217
N = int(input())
A = int(input())
s = (N*N)-A
print(str(s))

# Example run
# Input:
35
-2
# Output:
1227
# -*- coding: utf-8 -*-

N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-172829
-227062494
# Output:
30096925735
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
2147483647
58
# Output:
4611686014132420551
N = int(input())
A = int(input())

print(N*N-A)


# Example run
# Input:
110116
0
# Output:
12125533456
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-2147483648
32168745
# Output:
4611686018395219159
N = int(input())
A = int(input())

print(N*N - A)

# Example run
# Input:
197766
-101281970
# Output:
39212672726
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
108901
242419
# Output:
11859185382
N = int(input())
A = int(input())

print(N ** 2 -A)

# Example run
# Input:
-1
-3439167
# Output:
3439168
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
7835
-22384662
# Output:
83771887
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-6
-1138
# Output:
1174
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
224
-3753932
# Output:
3804108
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
82157
119781
# Output:
6749652868
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
30456987
645801
# Output:
927628056472368
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-256018
-30792
# Output:
65545247116
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
6697
-2
# Output:
44849811
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
-23
38379
# Output:
-37850
def abc():
    n = int(input())
    a = int(input())
    print(n * n - a)


abc()


# Example run
# Input:
644
-347
# Output:
415083
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
1
40
# Output:
-39
N = int(input())
A = int(input())

B = N ** 2 - A

print(B)

# Example run
# Input:
-256478906
-8056
# Output:
65781429222964892
def main47():
    n = int(input())
    a = int(input())
    result = n * n - a
    print(result)

if __name__ == "__main__":
    main47()

# Example run
# Input:
41614
793
# Output:
1731724203
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-97071
36241
# Output:
9422742800
N = int(input())
A = int(input())

print(N ** 2 - A)


# Example run
# Input:
-28977
-22775593
# Output:
862442122
N=int(input())
A=int(input())
print(int(N*N-A))

# Example run
# Input:
-241292
-2147483648
# Output:
60369312912
N = int(input())
A = int(input())

print(N * N - A)

# Example run
# Input:
0
1
# Output:
-1
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
8796677
-1595467139
# Output:
77383121709468
N = int(input())
A = int(input())

print(N * N - A)



# Example run
# Input:
-1138
-22588477
# Output:
23883521
n=int(input())
a=int(input())
print(max(n*2-a, 0))

# Example run
# Input:
3556893
-8951
# Output:
7122737
N = int(input())
A = int(input())
print(N**2-A)



# Example run
# Input:
-5059717
43064
# Output:
25600736077025
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
985477
0
# Output:
971164917529
n = int(input())
a = int(input())
print(n*n - a)

# Example run
# Input:
343822
12
# Output:
118213567672
n = int(input())
a = int(input())

print((n ** 2) - a)

# Example run
# Input:
-172829
-227062494
# Output:
30096925735
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
-53354
3615919
# Output:
2843033397
N = int(input())
A = int(input())
print(N-A)

# Example run
# Input:
0
-11909
# Output:
11909
N=int(input())
print(N**2-int(input()))

# Example run
# Input:
815
12824734
# Output:
-12160509
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
1115599
-206075
# Output:
1244561334876
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-53674
166977
# Output:
2880731299
n=int(input())
a=int(input())
ans=n*n-a
print(ans)

# Example run
# Input:
71
104773
# Output:
-99732
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-877447
8312590
# Output:
769904925219
n = int(input())
a = int(input())
check = n*n
black = check - a
print(black)


# Example run
# Input:
-6865417
-48
# Output:
47133950583937
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-501843
-1
# Output:
251846396650
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
-2147483648
115
# Output:
4611686018427387789
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-1
1
# Output:
0
N = int(input())
A = int(input())
print(N * N - A)


# Example run
# Input:
18
-377392
# Output:
377716
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
1294
-15938
# Output:
1690374
N = int(input())
A = int(input())
print(N*N-A)


# Example run
# Input:
3163
24
# Output:
10004545
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-16
-4
# Output:
260
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
675805
1792657
# Output:
456710605368
n = int(input())
a = int(input())
print(n*n-a)


# Example run
# Input:
-2421
-2147483648
# Output:
2153344889
N = int(input())
A = int(input())

# N×Nのマス目があります
N *= N

# Aマスを白色に塗るとき、黒色に塗ることになるマスはいくつあるか出力
B = N - A
print(B)

# Example run
# Input:
352486
0
# Output:
124246380196
n = int(input())
a = int(input())
print (n**2-a)

# Example run
# Input:
819442462
-41963706
# Output:
671485948570585150
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-1
-3439167
# Output:
3439168
if __name__ == '__main__':

    N = int(input())
    A = int(input())
    print(N*N - A)
 

# Example run
# Input:
1624
0
# Output:
2637376
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
-1
-3439167
# Output:
3439168
# coding: utf-8
# Your code here!

N = int(input())
A = int(input())

# print(N**2)
# print(A)

print((N**2) - A)

# Example run
# Input:
55
715035410
# Output:
-715032385
N = int(input())
A = int(input())
ans = N ** 2 - A
print(ans)

# Example run
# Input:
3708297
9879
# Output:
13751466630330
N=int(input())
A=int(input())

print(N*N-A)

# Example run
# Input:
-264371717
10366
# Output:
69892404749517723
n = int(input())
a = int(input())
print(n * n - a)

# Example run
# Input:
-464240
19804
# Output:
215518757796
N = int(input())
A = int(input())
ans = N * N - A
print(ans)

# Example run
# Input:
-10841372
-2552
# Output:
117535346844936
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-1686
14508349
# Output:
-11665753
N = int(input())
A = int(input())
print((N * N) - A)

# Example run
# Input:
-75
57223618
# Output:
-57217993
n = int(input())
a = int(input())
print(n * n - a)

# Example run
# Input:
10
-1
# Output:
101
a = int(input())
b = int(input())
print(a**2-b)

# Example run
# Input:
2704
56552
# Output:
7255064
a = int(input())
b=int(input())
print(a*a - b)

# Example run
# Input:
-230914
-246934
# Output:
53321522330
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-46896159
2561
# Output:
2199249728950720
N=int(input())
A=int(input())
print(N*N-A)


# Example run
# Input:
65444
-740
# Output:
4282917876
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
14319043
15927431
# Output:
205034976508418
N=int(input())
A=int(input())
print(N**2-A)


# Example run
# Input:
-4029286
43
# Output:
16235145669753
N = int(input())
A = int(input())

print(N * N - A)

# Example run
# Input:
-1
-3439167
# Output:
3439168
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-118354
-5
# Output:
14007669321
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
17
618445
# Output:
-618156
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-161
20
# Output:
25901
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
INF = float("inf")


def main():
    N = int(input())
    A = int(input())
    print(N * N - A)


if __name__ == '__main__':
    main()


# Example run
# Input:
-1686
14508349
# Output:
-11665753
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
65444
-740
# Output:
4282917876
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-210
-6
# Output:
44106
n = int(input())
a = int(input())

ans = n*n-a

print(ans)

# Example run
# Input:
-296641124
-21
# Output:
87995956447983397