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

# Example run
# Input:
55
45607
# Output:
-42582
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
3556893
-8951
# Output:
12651487822400
x=int(input())
y=int(input())
print(x**2-y)

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

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

# Example run
# Input:
-27542226
-108610
# Output:
758574213143686
N = int(input())
A = int(input())

print(N**2-A)


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

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

# Example run
# Input:
-687
2816470
# Output:
-2344501
n = int(input())
a = int(input())

print(n*n - a)


# Example run
# Input:
-2147483648
1
# Output:
4611686018427387903
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-111
7
# Output:
12314
n = int(input())
a = int(input())
if 1 <= n <= 100 and 0 <= a <= n ** 2:
    print(n ** 2 - a)
else:
    print('hoge!')

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

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

# Example run
# Input:
43251559
1792657
# Output:
1870697354137824
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
0
-31
# Output:
31
# coding: utf-8
N = int(input())
A = int(input())
ans = N * N - A
print(ans)

# Example run
# Input:
2920762
-6
# Output:
8530850660650
N = int(input())
A = int(input())

print(N**2 - A)

# Example run
# Input:
-2147483648
92
# Output:
4611686018427387812
N = int(input())
A = int(input())

print(N*N - A)


# Example run
# Input:
-28
7
# Output:
777
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-9
-10841372
# Output:
10841453
N = int(input())
A = int(input())

N_N = (N*N)

print((N_N)- A)


# Example run
# Input:
-8132114
-1
# Output:
66131278108997
N = int(input())
A = int(input())

print(N * N - A)


# Example run
# Input:
-83
-39355
# Output:
46244
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
1560
-902193
# Output:
3335793
n = int(input())
a = int(input())
print(n * n - a)


# Example run
# Input:
-587
337902
# Output:
6667
N = int(input())
A = int(input())
print(N**N - A)

# Example run
# Input:
-22578
-12211339
# Output:
12211339.0
a=int(input())
b=int(input())
print(a**2-b)

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

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

# Example run
# Input:
-224852
-318594
# Output:
50558740498
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-1406309
-967
# Output:
1977705004448
a=int(input())
b=int(input())
s=a*a
tp=s-b
print(tp)

# Example run
# Input:
7
92896
# Output:
-92847
n = int(input())
a = int(input())
print(n*n-a)


# Example run
# Input:
37777
19239
# Output:
1427082490
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-28662
-39373
# Output:
821549617
N = int(input())

A = int(input())

print(str(N**2-A))

# Example run
# Input:
1
-38175
# Output:
38176
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
-69919
-6
# Output:
4888666567
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
234865
1597897
# Output:
55159970328
N = int(input())
A = int(input())
print(N*N-A)

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

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


# Example run
# Input:
38254
-61894
# Output:
1463430410
N = int(input())
A = int(input())
print(N * N - A)


# Example run
# Input:
-142
137752
# Output:
-117588
# -*- coding: utf-8 -*-


def func(n, a):
    result = n * n - a
    return result


N = int(input())
A = int(input())
print(func(N, A))

# Example run
# Input:
184659822
-15415740
# Output:
34099249876487424
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
-18991721
465
# Output:
360685466541376
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-14993
-377
# Output:
224790426
a = int(input())
b = int(input())
print(a**2 - b)

# Example run
# Input:
0
-62124928
# Output:
62124928
N = int(input())
K = int(input())
x = list(map(int,input().split()))
length = 0
Khalf = K//2
for i in range(N):
	if x[i] <= Khalf:
		length += 2*x[i]
	else:
		length += 2*(K-x[i])
print(length)



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

print(N*N-A)

# Example run
# Input:
-40
-18579092
# Output:
18580692
n = int(input())
a = int(input())
print(n**2 -a)


# Example run
# Input:
-1
964893
# Output:
-964892
n = int(input())
a = int(input())

print(n**2-a)

# Example run
# Input:
2217630
142
# Output:
4917882816758
N = int(input())
A = int(input())

print(N ** 2 - A)

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


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


# Example run
# Input:
-800148
-42415
# Output:
640236864319
N = int(input())
A = int(input())

print(N ** 2 - A)

# Example run
# Input:
-9071
21643
# Output:
82261398
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
-117864
-38181262
# Output:
13930103758
N = int(input())
A = int(input())
print(N*N - A)

# Example run
# Input:
-213058
-83
# Output:
45393711447
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
3730635
3007291
# Output:
13917634495934
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-3753932
42339391
# Output:
14091963121233
n = int(input())
a = int(input())

print(n * n - a)


# Example run
# Input:
-2166
65444
# Output:
4626112
import sys

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

print(x**2-a)

# Example run
# Input:
337
11991
# Output:
101578
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
27
222068
# Output:
-221339
A=int(input())
B=int(input())

print(A*A-B)

# Example run
# Input:
-121166014
-512
# Output:
14681202948648708
n = int(input())
k = int(input())
print(n**2-k)

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

# Example run
# Input:
-848
-29392
# Output:
748496
# coding: utf-8
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
0
-8996
# Output:
8996
import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy

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

# Example run
# Input:
-2147483648
-1406309
# Output:
4611686018428794213
n=int(input())
m=int(input())
print(n**2-m)

# Example run
# Input:
-935546
45843
# Output:
875246272273
n = int(input())
a = int(input())
print(n*n - a)

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

print(a**2-b)


# Example run
# Input:
197383
-39547
# Output:
38960088236
n = int(input())
a = int(input())
print(n ** 2 - a)

# Example run
# Input:
161887817
-52564348
# Output:
26207665345589837
N = int(input())
A = int(input())

print(N**2 - A)

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

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

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

# Example run
# Input:
12
80731065
# Output:
-80730921
n = int(input())
a = int(input())
print(n * n - a)

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


# Example run
# Input:
4006492
-27566650
# Output:
16052005712714
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
17741045
142
# Output:
314744677691883
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
-7899184
686777
# Output:
62397107179079
n=int(input())
a=int(input())
print(n*n-a)


# Example run
# Input:
102
-61094699
# Output:
61105103
N = int(input())
A = int(input())
N_all = N*N
print(N_all-A)

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

# Example run
# Input:
104248
-291704
# Output:
10867937208
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
10
-383
# Output:
483
N=int(input())
A=int(input())

print(N**2-A)


# Example run
# Input:
31959
-499948
# Output:
1021877629
N = int(input().rstrip())
A = int(input().rstrip())

num = N * N - A
print(num)


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

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

print(N**2-A)

# Example run
# Input:
24314
5184928
# Output:
585985668
def blackarea(n , a):

    return n * n - a

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

if __name__ == '__main__':
    main()

# Example run
# Input:
1685
-848
# Output:
2840073
N = int(input())
A = int(input())

print( N * N - A)

# Example run
# Input:
-124978655
-23909
# Output:
15619664205632934
N = int(input())
A = int(input())
print(N**2-A)

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

# Example run
# Input:
51856
15
# Output:
2689044721
a = int(input())
b = int(input())

ans = a*a-b
print(ans)

# Example run
# Input:
-8440
-88999747
# Output:
160233347
N = int(input())
A = int(input())
B=N*N-A
print(B)

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


# Example run
# Input:
1969909
-112
# Output:
3880541468393
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
-420
627
# Output:
175773
n=int(input())
a=int(input())

print(n**2-a)

# Example run
# Input:
-13902095
-168
# Output:
193268245389193
N = int(input())
A = int(input())
print(N ** 2 - A)

# Example run
# Input:
-73864104
56
# Output:
5455905859722760
import os

def main():
        n = int(input())
        a = int(input())
        print(n*n - a)

if __name__ == "__main__":
        main()

# Example run
# Input:
155287
-746
# Output:
24114053115
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
-220
9
# Output:
48391
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-163
4554
# Output:
22015
n = int(input())
a = int(input())

print(n*n - a)

# Example run
# Input:
-111
7
# Output:
12314
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
-30
-3011
# Output:
3911
N = int(input())
A = int(input())
ans = N*N - A
print(ans)


# Example run
# Input:
-40790016
-517326
# Output:
1663825405797582
n = int(input())
a = int(input())
print(n*n - a)

# Example run
# Input:
-3662
757115353
# Output:
-743705109
if __name__ == "__main__":
    N = int(input())
    K = int(input())
    x = list(map(int, input().split()))
    ans = 0
    for i in range(N):
        r = min(x[i],abs(K-x[i]))
        ans += 2*r
    print(ans)

# Example run
# Input:
-2
-708039
0
# Output:
0
#!/usr/bin/env python3
#ABC74 A

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

print(n**2-a)


# Example run
# Input:
-1015053308
-54634663
# Output:
1030333218136377527
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
4195951
98
# Output:
17606004794303
n = int(input())
a = int(input())

masu = n ** 2

print(masu - a)

    
           

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

# Example run
# Input:
-84564737
-18579092
# Output:
7151194762458261
n = int(input())
a = int(input())
print(int(n*n-a))

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

print(n**2 - a)

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

# Example run
# Input:
-2147483648
16667401
# Output:
4611686018410720503
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*n-a)

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


# Example run
# Input:
102
-61094699
# Output:
61105103
N = int(input())
A = int(input())
print((N**2)-A)

# Example run
# Input:
155287
-746
# Output:
24114053115
n=int(input())
a=int(input())
print(int(n**2-a))

# Example run
# Input:
17741045
142
# Output:
314744677691883
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
415156661
65211
# Output:
172355053172603710
N = int(input())
A = int(input())
print(N**2-A)


# Example run
# Input:
-2040
320
# Output:
4161280
n = int(input())
a = int(input())
print(n * n - a)

# Example run
# Input:
7
5768
# Output:
-5719
# A - Bichrome Cells
# https://atcoder.jp/contests/abc074/tasks/abc074_a

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

i = N * N
result = i - A

print(result)


# Example run
# Input:
-4422
-15015728
# Output:
34569812
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
335359270
-368879895
# Output:
112465840343812795
n = int(input())
a = int(input())
print(n * n - a)


# Example run
# Input:
1
94838
# Output:
-94837
n = int(input())
a = int(input())

if n ** 2 - a < 0:
    print(0)
else:
    print(n ** 2 - a)


# Example run
# Input:
27788
-8951
# Output:
772181895
A= int(input())
B=int(input())
print(A**2-B)

# Example run
# Input:
3
-264371717
# Output:
264371726
n=int(input())
a=int(input())
print(n**2-a)


# Example run
# Input:
-13
1908
# Output:
-1739
# -*- coding: utf-8 -*-

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

print(n*n - a)

# Example run
# Input:
655252
-55768
# Output:
429355239272
a = int(input())
b = int(input())
print(a*a-b)

# Example run
# Input:
-1067
56
# Output:
1138433
n = int(input())
a = int(input())
print(n * n - a)


# Example run
# Input:
407083673
113162947
# Output:
165717116710007982
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
-58867430
-56661351
# Output:
3465374371466251
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
49391
22434
# Output:
2439448447
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-4934
203
# Output:
24344153
n = int(input())
a = int(input())
print(n ** 2 - a)


# Example run
# Input:
242
13
# Output:
58551
a = int(input())
n = int(input())
print((a*a)-n)

# Example run
# Input:
-1
2408819
# Output:
-2408818
A = int(input())
B = int(input())
print(A**2-B)

# Example run
# Input:
212
10559
# Output:
34385
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
-4169
-76577
# Output:
17457138
n = int(input())
k = int(input())
b = list(map(int, input().split())) 

sum = 0
for ball in b:
  sum += ball - 0 if (ball - 0) < k - ball else k - ball
  
  print(sum*2)

# Example run
# Input:
-131996639
10921
86342186
# Output:
-172662530
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
-86077887
14
# Output:
7409402630384755
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
107687
2
# Output:
11596489967
N = int(input())
A = int(input())

print(N * 2 - A)

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

# Example run
# Input:
2147483647
25664592
# Output:
4611686014106756017
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
-267520363
48199211
# Output:
71567144571452558
n = int(input())
n *= n
a = int(input())
print(n-a)

# Example run
# Input:
-65934
709214891
# Output:
3638077465
n=int(input())
a=int(input())
ans=n**2-a
print(ans)

# Example run
# Input:
449245
-31
# Output:
201821070056
i1 = int(input())
i2 = int(input())
print(i1**2-i2)

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

# Example run
# Input:
393537
-19
# Output:
154871370388
a=int(input())
print(a**2-int(input()))

# Example run
# Input:
-2147483648
450137
# Output:
4611686018426937767
n = int(input())
a = int(input())

print(n * n - a)

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

# Example run
# Input:
172
592
# Output:
28992
import sys
sys.setrecursionlimit(4100000)
import math
import itertools
INF = float('inf')
from heapq import heapify, heappop, heappush

def main():
    n = int(input())
    a = int(input())

    print(n**2-a)


if __name__ == '__main__':
    main()


# Example run
# Input:
-6606405
3632153
# Output:
43644583391872
N = int(input())
A = int(input())
print(N*N-A)


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

# Example run
# Input:
7
5768
# Output:
-5719
a=int(input())
b=int(input())
print(a**2-b)


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

# Example run
# Input:
796686
4460
# Output:
634708578136
n=int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-5908354
1801074
# Output:
34908645188242
N = int(input())
x = int(input())

print(N*N-x)

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

# Example run
# Input:
-52564348
-7737
# Output:
2763010680672841
def bichrome_cells(N: int, A: int)->int:
    return N*N - A


if __name__ == "__main__":
    N = int(input())
    A = int(input())
    ans = bichrome_cells(N, A)
    print(ans)


# Example run
# Input:
5
-7472243
# Output:
7472268
N = int(input())
A = int(input())

ans = N * N - A

print(ans)
print()


# Example run
# Input:
29371949
258529
# Output:
862711387800072
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-8056
-449705
# Output:
65348841
N = int(input())
A = int(input())

print(N**2 - A)

# Example run
# Input:
-210
49968
# Output:
-5868
n=int(input())
print(n*n-int(input()))


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

# Example run
# Input:
-27928965
7381
# Output:
780027085963844
N = int(input())
A = int(input())

S = N * N

ANS = N - S
ANS = abs(ANS)

print (ANS)

# Example run
# Input:
-11989124
-407
# Output:
143739106276500
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**2-A)

# Example run
# Input:
-22
-47028
# Output:
47512
n = int(input())
a = int(input())
print(n*n - a)

# Example run
# Input:
-81206326
-156960
# Output:
6594467382575236
a = int(input())
b = int(input())
print(a * a - b)


# Example run
# Input:
-102
1
# Output:
10403
inn = int(input())
ina = int(input())

print(inn * inn - ina)

# Example run
# Input:
-1140169349
11327
# Output:
1299986144399072474
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-147
-3225
# Output:
24834
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
7
310244
# Output:
-310195
N = int(input())
A = int(input())

ans = N ** 2 - A

print(ans)

# Example run
# Input:
-25
392836532
# Output:
-392835907
n = int(input())
a = int(input())

print(n**2-a)


# Example run
# Input:
9879
13703
# Output:
97580938
N = int(input())
a = int(input())
print (N *N - a)

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

ans = N ** 2 - A

print(ans)

# Example run
# Input:
-54544899
-74270783
# Output:
2975146081190984
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
4909595
-408988968
# Output:
24104532052993
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:
1
-345973716
# Output:
345973717
N = int(input())
A = int(input())
print(N**2 - A)


# Example run
# Input:
1158
24
# Output:
1340940
A=int(input())
B=int(input())
print(A*A-B)

# Example run
# Input:
2874534
3
# Output:
8262945717153
N = int(input())
A = int(input())
ans = N ** 2 - A
print(ans)


# Example run
# Input:
136937
-51979048
# Output:
18803721017
n=int(input())
a=int(input())
print(n**2-a)


# Example run
# Input:
32
-1
# Output:
1025
N=int(input())
A=int(input())

print(N*N-A)


# Example run
# Input:
-10
-1079047
# Output:
1079147
N = int(input())
A = int(input())
print(N*N - A)


# Example run
# Input:
5330
3
# Output:
28408897
n = int(input())
a = int(input())

print(n * n - a)

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

# Example run
# Input:
730190
-6
# Output:
533177436106
n = int(input())
k = int(input())

print(n*n -k)

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

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

# Example run
# Input:
64303
-47268285
# Output:
4182144094
# A - Bichrome Cells
n=int(input())
a=int(input())
print((n*n)-a)


# Example run
# Input:
-11
-17367
# Output:
17488
N = int(input())
A = int(input())

print(N * N - A)


# Example run
# Input:
112734
211
# Output:
12708954545
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
472
437757
# Output:
-214973
n=int(input())
a=int(input())

print(n**2-a)

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

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

# Example run
# Input:
28
197766
# Output:
-196982
N=int(input())
A=int(input())
black_cell=N**2-A
print(black_cell)

# Example run
# Input:
-50
-420252
# Output:
422752
n=int(input())
a=int(input())
print(n*n-a)

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

# Example run
# Input:
71677529
343492
# Output:
5137668163202349
N=int(input())
A=int(input())
RE=N*N-A
print(RE)

# Example run
# Input:
-25
392836532
# Output:
-392835907
def resolve():
    n = int(input())
    a = int(input())
    print(n ** 2 - a)


if __name__ == "__main__":
    resolve()


# Example run
# Input:
-52564348
-7737
# Output:
2763010680672841
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
17497
383719
# Output:
305761290
n = int(input())
siro = int(input())
zen = n*n
kuro = zen - siro
if kuro <= 0:
    print(0)
else:
    print(kuro)

# Example run
# Input:
-861
140
# Output:
741181
n = int(input())
a = int(input())
print(n**2 - a)


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


# Example run
# Input:
-62
76
# Output:
3768
n=int(input())
a=int(input())
print(int(n^2-a))

# Example run
# Input:
-40
-18579092
# Output:
-18579122
x = int(input()) ** 2
y = int(input())
print(x - y)

# Example run
# Input:
424068
341
# Output:
179833668283
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
2657144
-213904
# Output:
7060414450640
from statistics import mean, median,variance,stdev
import sys
import math

#x = input().split()
#y = input().split()

x = int(input())
y = int(input())

print(pow(x,2)-y)

# Example run
# Input:
-140
165350
# Output:
-145750
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
1363926
77305
# Output:
1860294056171
a = int(input())
b = int(input())
print(a**2 - b)

# Example run
# Input:
-439
20405993
# Output:
-20213272
n = int(input())
a = int(input())
print(n*n-a)


# Example run
# Input:
84
-694262
# Output:
701318
n=int(input())
a=int(input())
print(n*2-a)

# Example run
# Input:
5215966
-87
# Output:
10432019
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
1
-3108573
# Output:
3108574
N = int(input())
A = int(input())

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


# Example run
# Input:
-1800135697
415326
# Output:
3240488527613260483