Felix6326727/beyond-accuracy-code-comprehension huggingface dataset:
def main():
    N = int(input())
    A = int(input())
    print(N*N - A)
main()

# Example run
# Input:
-18103719
55
# Output:
327744641630906
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
90
62
# Output:
8038
N = int(input())
A = int(input())
print(N**2-A)

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

# Example run
# Input:
70800
72046879
# Output:
4940593121
# 074 A
N=int(input()) **2
A = int(input())
print(N-A)

# Example run
# Input:
-15938
-21640439
# Output:
275660283
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
-29
-1788887661
# Output:
1788888502
# https://atcoder.jp/contests/abc074/tasks/abc074_a

import itertools
import collections
import bisect

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

if __name__ == '__main__':
    main()


# Example run
# Input:
-372018900
11
# Output:
138398061957209989
input1 = int(input())
input2 = int(input())

print (input1*input1 - input2)



# Example run
# Input:
-234
-41270
# Output:
96026
N=int(input())
A=int(input())

print(N*N-A)

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

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


# Example run
# Input:
-26
855881
# Output:
-855205
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-7
9186
# Output:
-9137
n = int(input())
a = int(input())

print(n*n-a)


# Example run
# Input:
1810607153
-2540
# Output:
3278298262494767949
N=int(input())
A=int(input())
X=N**2-A
print(X)

# Example run
# Input:
112781417
20480
# Output:
12719648020507409
N = int(input())
A = int(input())
print(N ** 2 - A)

# Example run
# Input:
-3
-92190875
# Output:
92190884
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:
2147483647
0
# Output:
4611686014132420609
n=int(input())
nn=n**n
a=int(input())
print(nn-a)

# Example run
# Input:
-749
1960818751
# Output:
-1960818751.0
n = int(input())
a = int(input())

print(n*n - a)

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

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

# Example run
# Input:
-4953150
3320259
# Output:
24533691602241
N=int(input())
A=int(input())
print(N*N-A)


# Example run
# Input:
3004
348709567
# Output:
-339685551
a = int(input())
b = int(input())

print(a*a - b)

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

# Example run
# Input:
-967
-58799
# Output:
993888
N = int( input() )
A = int( input() )

print( N * N - A )

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

# Example run
# Input:
1038302991
9005859
# Output:
1078073101110540222
N = int(input())
A = int(input())
print(N**N-A)

# Example run
# Input:
7
868
# Output:
822675
n = int(input())
a = int(input())
print(n**2 - a)

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

# Example run
# Input:
1973033
-264371717
# Output:
3893123590806
n = int(input())
a = int(input())
x = n**2 - a
if x >= 0:
    print(x)
else:
    print(0)


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

# Example run
# Input:
-4589549
165350
# Output:
21063959858051
#!/usr/bin/env python

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

if __name__ == '__main__':
    main()


# Example run
# Input:
229169
6538471
# Output:
52511892090
N = int(input())
A = int(input())
print(N ** 2 - A)

# Example run
# Input:
298151
-755
# Output:
88894019556
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
4475
-562
# Output:
20026187
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-525059
89101055
# Output:
275597852426
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-1147387
165350
# Output:
1316496762419
n = int(input())
a = int(input())
print(n * n - a)


# Example run
# Input:
894130
-954385
# Output:
799469411285
N = int(input())
A = int(input())
print((N**2)-A)

# Example run
# Input:
-358903
-4422
# Output:
128811367831
# -*- coding: utf-8 -*-

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

print(n**2-4)


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

# Example run
# Input:
-274608
14305940
# Output:
75395247724
# -*- coding: utf-8 -*-

if __name__ == '__main__':
	n = int(input())
	a = int(input())

	mass = n * n

	print(mass - a)

# Example run
# Input:
665
-3123902
# Output:
3566127
n = int(input())
m = int(input())

print(n * n - m)



# Example run
# Input:
104463431
-4695962
# Output:
10912608420987723
N = int(input())
A = int(input())
print(N*N-A)

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

# Example run
# Input:
-7
-65934
# Output:
65983
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-35
1
# Output:
1224
N = int(input())
A = int(input())
    
S = N * N
    
ANS = A - S
ANS = abs(ANS)
    
print (ANS)

# Example run
# Input:
-3
7395
# Output:
7386
import sys
import math
n=int(input())

b=n
a=[]
N=math.sqrt(n)

for i in range(1,10):
  for j in range(1,10):
      if(i*j==n):
          print ("Yes")
          sys.exit()

print ("No")


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

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

print(n*n-a)


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

# Example run
# Input:
-16329982
-14
# Output:
266668312120338
n = int(input())
a = int(input())
print(n**-a)

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

# Example run
# Input:
-3755
34999
# Output:
14065026
n=int(input())
a=int(input())

print(n*n-a)

# Example run
# Input:
665
-3123902
# Output:
3566127
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-1893070
10823
# Output:
3583714014077
N = int(input())
A = list(map(int, input().split()))

T = 1
for i in A:
    T = T * i
    if T > 10**18:
        print(-1)
    else:
        print(T)

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

# Example run
# Input:
6
-27248
# Output:
27284
# coding: utf-8
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
-84521052
-2
# Output:
7143808231186706
a=int(input())
b=int(input())
s=a*a
t=s-b
print(t)
    

    


# Example run
# Input:
-6325
1
# Output:
40005624
n = int(input())
a = int(input())

print(n * n - a)


# Example run
# Input:
-185685
1419428
# Output:
34477499797
n=int(input())
a=int(input())

print(n**2 - a)


# Example run
# Input:
2657144
-213904
# Output:
7060414450640
N = int(input())
A = int(input())
print(N**2 - A)

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

# Example run
# Input:
-11314940
-5908354
# Output:
128027873111954
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-2811762
15761764
# Output:
7905989782880
n=int(input())
a=int(input())
print(n**2-a)


# Example run
# Input:
13
1584
# Output:
-1415
N = int(input())
A = int(input())
print(N*N-A)

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

# Example run
# Input:
-11392175
-9
# Output:
129781651230634
N = int(input())
A = int(input())
ans = N * N - A
print(ans)

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

print(n * n - a)

# Example run
# Input:
-1
-40790016
# Output:
40790017
n = int(input())
a = int(input())
print(pow(n,2)-a)

# Example run
# Input:
-1
-491947
# Output:
491948
N = int(input())
A = int(input())

print(N ** 2 - A)

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

ans = N**2 - A

print(ans)

# Example run
# Input:
-907243029
-671
# Output:
823089913669095512
N = int(input())
A = int(input())
print(N ** 2 - A)


# Example run
# Input:
480
-86519602
# Output:
86750002
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:
3
-563
# Output:
572
def test():
    n = int(input())
    a = int(input())
    print(n**2 - a)


if __name__ == "__main__":
    test()


# Example run
# Input:
-4092419
-1
# Output:
16747893271562
N = int(input())
A = int(input())
ans = (N ** 2) - A
print(ans)

# Example run
# Input:
-83
-39355
# Output:
46244
N = int(input())
A = int(input())

print(N*N - A)

# Example run
# Input:
1
-33599094
# Output:
33599095
A = int(input())
B = int(input())
print(A*A-B)

# Example run
# Input:
-1
30456987
# Output:
-30456986
N = int(input())
A = int(input())

print(N * N - A)


# Example run
# Input:
31
-5
# Output:
966
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-45
-16
# Output:
2041
N = int(input())
a = int(input())
print(N**2-a)

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

# Example run
# Input:
-740
1
# Output:
547599
N = int(input())
A = int(input())

ans = N * N - A

print(ans)

# Example run
# Input:
98
5881
# Output:
3723
a = int(input())
b = int(input())
print(a*a-b)

# Example run
# Input:
45718
398138
# Output:
2089737386
N = int(input())
A = int(input())
print(N**2-A)


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

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


# Example run
# Input:
-164378
184
# Output:
27020126700
n = int(input())
a = int(input())
t = (n**2 - a)
print(t)

# Example run
# Input:
4345
-8164991
# Output:
27044016
n=int(input())
a=int(input())
print(n**2-a)

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

print(N*N - A)


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

re = N * N - A
print(re)

# Example run
# Input:
-491914923
0
# Output:
241980291470095929
n = int(input())
a = int(input())

print(n*n-a)


# Example run
# Input:
-76824657
-1794
# Output:
5902027923169443
def main():
    N = int(input())
    A = int(input())

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

main()


# Example run
# Input:
3081428
-194
# Output:
9495198519378
x=int(input())
y=int(input())
print(x**2-y)

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

# Example run
# Input:
-14237
7
# Output:
202692162
n=int(input())
a=int(input())
print(n**2-a)

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

answer=(N*N)-A

print(answer)


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


# Example run
# Input:
-426204934
-83
# Output:
181650645765944439
n=int(input())
N=n*n
a=int(input())
print(N-a)

# Example run
# Input:
-194151326
1
# Output:
37694737387558275
stdin1 = int(input())
stdin2 = int(input())

print(stdin1 * stdin1 - stdin2)


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

# Example run
# Input:
48477567
21507
# Output:
2350074502217982
n = int(input())
a = int(input())

print(n*n - a)


# Example run
# Input:
107
186860433
# Output:
-186848984
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
1
-10318344
# Output:
10318345
n = int(input())
a = int(input())

print(n*n - a)

# Example run
# Input:
870
-985376852
# Output:
986133752
N = int(input())
A = int(input())

print(N ** 2 - A)

# Example run
# Input:
237144
1761864
# Output:
56235514872
N = int(input())
K = int(input())
x = list(map(int,input().split()))

cnt = 0
for i in x:
    cnt += 2 * min(i,K - i)

print(cnt)


# Example run
# Input:
16276
-32079
-504
# Output:
-63150
N = int(input())
A = int(input())

B = N * N - A

print(B)

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


# Example run
# Input:
-89579
-64
# Output:
8024397305
#ALC005 A

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

print((N**2) - A)

# Example run
# Input:
-1847
41160563
# Output:
-37749154
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-75
57223618
# Output:
-57217993
N = int(input())
A = int(input())
print(N**2-A)

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

# Example run
# Input:
-1799682701
446
# Output:
3238857824278654955
n = int(input())
a = int(input())
print(n ** 2 - a)

# Example run
# Input:
63013937
2563
# Output:
3970756256237406
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
10
6252
# Output:
-6152
n = int(input())
a = int(input())

print(n*n - a)


# Example run
# Input:
-1062073697
-319568
# Output:
1128000537859567377
n = int(input())
a = int(input())
print(n*n - a)

# Example run
# Input:
-16329982
-14
# Output:
266668312120338
N = int(input())
A = int(input())

MASU = N*N
black = MASU - A
print(black)

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

# Example run
# Input:
2563
2147483647
# Output:
-2140914678
n = int(input())
a = int(input())
print(n ** 2 - a)


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

# Example run
# Input:
6
-27248
# Output:
27284
a = int(input())
b = int(input())
print(a*a - b)

# Example run
# Input:
-18099607
-1965718821
# Output:
327597739273270
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-1204
409
# Output:
1449207
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:
11
4082171
# Output:
-4082149
a = int(input())
b = int(input())
print(a**2-b)

# Example run
# Input:
-1062073697
-319568
# Output:
1128000537859567377
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
196831
-398535
# Output:
38742841096
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-117659
-217064188
# Output:
14060704469
N = int(input())
A = int(input())

print(N * N - A)

# Example run
# Input:
-15015728
42339391
# Output:
225472045030593
N = int(input())
A = int(input())

print(N * N - A)

# Example run
# Input:
14005
-728818981
# Output:
924959006
n = int(input())
a = int(input())
print(n * n - a)

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

# Example run
# Input:
-1799682701
446
# Output:
3238857824278654955
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
158214411
476822989
# Output:
25031799371253932
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
-18231
54
# Output:
332369307
if __name__ == '__main__':
    N = int(input())
    A = int(input())

    print(N*N-A)

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

# Example run
# Input:
11
5831819
# Output:
285311670610
N=int(input())
A=int(input())
M=N*N
print(M-A)

# Example run
# Input:
51
13
# Output:
2588
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-227062494
655252
# Output:
51557376180844784
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-1219978197
-1151131
# Output:
1488346801156521940
n = int(input())
a = int(input())

print(n**2-a)

# Example run
# Input:
-2585113
-809459
# Output:
6682810032228
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-479798
-3025884
# Output:
230209146688
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:
3
33
# Output:
-24
# -*- coding: utf-8 -*-

# AtCoder Beginner Contest
# Problem A

if __name__ == '__main__':
    N = int(input())
    white_count = int(input())

    black_count = N ** 2 - white_count
    print(black_count)


# Example run
# Input:
981571
-6163826
# Output:
963487791867
n = int(input())
a = int(input())

print(n ** 2 - a)


# Example run
# Input:
15
-5
# Output:
230
N = int(input())
A = int(input())

print(N*N - A)

# Example run
# Input:
688
-972
# Output:
474316
A = int(input())
B = int(input())


print(A*A-B)

# Example run
# Input:
-627442454
1169
# Output:
393684033081540947
one_side=input()
oneside=int(one_side)
whole=oneside**2
white_side=input()
whiteside=int(white_side)
print(whole-whiteside)

# Example run
# Input:
1038302991
9005859
# Output:
1078073101110540222
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-668005
627539
# Output:
446230052486
n = int(input())
a = int(input())
ans = n ** 2 - a
print(ans)

# Example run
# Input:
-208107
-83
# Output:
43308523532
# 074_a
N=int(input())
A=int(input())
sum=N*N
if (1<=N and N<=100) and (0<=A and A<=N**N):
    print(sum-A)

# Example run
# Input:
29186
-14264
# Output:
N = int(input())

A = int(input())


print(N * N - A)



# Example run
# Input:
23763566
0
# Output:
564707069036356
n=int(input())
a=int(input())
pixel=n**2
print(pixel-a)

# Example run
# Input:
-1
-3439167
# Output:
3439168
N = int(input())
A = int(input())
T = N ** 2 - A
if N<100 :
    print(T)
else :
    print(0)

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

# Example run
# Input:
-12142
51
# Output:
147428113
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
-2147483648
474
# Output:
4611686018427387430
n=int(input())
a=int(input())
print(n*2-a)

# Example run
# Input:
1
1555585773
# Output:
-1555585771
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
67
-109089799
# Output:
109094288
#Source code should be longer than 50 chars so I am writing this line
n=int(input())
a=int(input())
print((n*n)-a)

# Example run
# Input:
-88464090
-1136688451
# Output:
7825896356216551
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
-507526654
-54634663
# Output:
257583304575070379
# -*- coding: utf-8 -*-
import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush
import math

# NO, PAY-PAY
#import numpy as np
#import statistics
#from statistics import mean, median,variance,stdev

def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    N = inputInt()
    A = inputInt()
    
    tmp = N*N
    print(tmp-A)
    
            	
if __name__ == "__main__":
	main()


# Example run
# Input:
-390
16707581
# Output:
-16555481
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
244278
112781417
# Output:
59558959867
x=int(input())
y=int(input())
print(x**2-y)


# Example run
# Input:
-2658
-283508835
# Output:
290573799
N = int(input())
w = int(input())

print(N**2-w)


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

# Example run
# Input:
-39645188
-202
# Output:
1571740931555546
n = int(input())
a = int(input())
print(n*n-a)

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


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

# Example run
# Input:
89
-39645188
# Output:
39653109
#pypyは内包表記使わない
def main():
    import sys
    #input = sys.stdin.readline
    sys.setrecursionlimit(10000000)
    from collections import Counter, deque
    #from collections import defaultdict
    from itertools import combinations, permutations
    #from itertools import accumulate, product
    from bisect import bisect_left,bisect_right
    from math import floor, ceil
    #from operator import itemgetter

    #mod = 1000000007

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

if __name__ == '__main__':
    main()

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

# Example run
# Input:
367856
41
# Output:
135318036695
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
-22775593
-2811762
# Output:
518727639313411
def main():
    N = int(input())
    A = int(input())
    print(N*N-A)
main()

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

# Example run
# Input:
7
868
# Output:
-819
N=int(input())
a=int(input())
print(N**2-a)

# Example run
# Input:
78
103064229
# Output:
-103058145
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 * n - a)

# Example run
# Input:
559
31946
# Output:
280535
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
901872
211
# Output:
813373104173
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
90
62
# Output:
8038
# coding: utf-8
# Your code here!

N = int(input())
white = int(input())
NN = N ** 2

print(NN - white)


# Example run
# Input:
18466
-5310
# Output:
340998466
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
-585248031
129345041
# Output:
342515257660031920
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
449245
-31
# Output:
201821070056
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-740
1
# Output:
547599
# -*- coding: utf-8 -*-
N = int(input())
A = int(input())

all_cells = N * N
black_cells = all_cells - A
print(black_cells)



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

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

# Example run
# Input:
1686
-1719929315
# Output:
1722771911
n = int(input())
a = int(input())
print((n**2)-a)

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

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

print(N**2 - A)

# Example run
# Input:
-46095437
-5
# Output:
2124789312220974
a=int(input())
b=int(input())
print(a^2-b)

# Example run
# Input:
58233
-7
# Output:
58224
n = int(input())
a = int(input())
#a, b = map(int,input().split())
#l = list(map(int,input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
print(n**2 - a)

# Example run
# Input:
16591977
-127034
# Output:
275293700895563
n=int(input())
a=int(input())
print(n**2-a)


# Example run
# Input:
-30792
0
# Output:
948147264
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 * a - b)

# Example run
# Input:
-568126729
-117864
# Output:
322767980204357305
def get_colored_cells():
    N = int(input())
    A = int(input())
    print(N ** 2 - A)

get_colored_cells()

# Example run
# Input:
242208
94838
# Output:
58664620426
n = int(input())
a = int(input())

print(n * 2 - a)

# Example run
# Input:
222365
235
# Output:
444495
n = int(input())
a = int(input())
print(n*n-a)

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

print(N**2-A)

# Example run
# Input:
235
-28
# Output:
55253
# -*- coding: utf-8 -*-

# Nの入力
n = int(input())
# 文字列の入力
a = int(input())

print(str(n*n - a))

# Example run
# Input:
-24
-35784
# Output:
36360
N=int(input())
A=int(input())

print(N*N-A)

# Example run
# Input:
-6739741
-355939049
# Output:
45424464686130
n = int(input())
a = int(input())
print(n*n - a)

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

print(n*n-a)


# Example run
# Input:
-185
-2938
# Output:
37163
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
-3675660
187
# Output:
13510476435413
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
2851
108968
# Output:
8019233