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

print(N*N-A)

# Example run
# Input:
34675473
-579377
# Output:
1202388428353106
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-3212
5018000
# Output:
5298944
def main():
    n = int(input())
    a = int(input())
    print(n*n-a)


if __name__ == "__main__":
    main()

# Example run
# Input:
38
-52564348
# Output:
52565792
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
-84
65962648
# Output:
-65955592
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 ** 2 - A)

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

# Example run
# Input:
-7130
-18228
# Output:
50855128
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-33
-3724
# Output:
4813
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-7467726
1372619017
# Output:
55765558992059
# coding: utf-8

# 入力
n = int(input()) ** 2
a = int(input())

# 出力
print(n - a)

# Example run
# Input:
598898
4
# Output:
358678814400
n=int(input())
a=int(input())

print(n**2-a)

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


# Example run
# Input:
62363359
475209597
# Output:
3889188070553284
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-1219978197
-1151131
# Output:
1488346801156521940
N = int(input())
A = int(input())
print(N**2-A)


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

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

# Example run
# Input:
1
-230
# Output:
231
N = int(input())
A = int(input())

print(N*N - A)

# Example run
# Input:
-87
141725276
# Output:
-141717707
n = int(input())
a = int(input())

print(n * n - a)

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

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

# Example run
# Input:
13356
-2040
# Output:
178384776
N = int(input())
A = int(input())

print(N ** 2 - A)


# Example run
# Input:
-58629422
171694
# Output:
3437409123882390
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-155785153
-104837
# Output:
24269013895338246
N = int(input())
A = int(input())
print(N**2-A)


# Example run
# Input:
-131587518
-3766
# Output:
17315274893404090
n = int(input())
m = int(input())

print(int(n*n-m))

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

# Example run
# Input:
17
3
# Output:
286
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
-1141
0
# Output:
1301881
N = int(input())
A = int(input())
n = N*N
ans = n - A

print(ans)

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

# Example run
# Input:
3185105
629110165
# Output:
10144264750860
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:
-1477
1323998648
# Output:
-1321817119
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-39645188
-202
# Output:
1571740931555546
x = int(input())
y = int(input())
print(x ** 2 - y)

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

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

# Example run
# Input:
-4107400
45236
# Output:
16870734714764
# 入力
N = int(input())
A = int(input())

# Nの2乗ひくA
answer = N ** 2 - A

# 出力
print(answer)

# Example run
# Input:
-3161926
-54
# Output:
9997776029530
N = int(input())
A = int(input())

print(N * N - A)


# Example run
# Input:
-1181
-659
# Output:
1395420
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
17497
383719
# Output:
305761290
N=int(input())
A=int(input())

print((N*N)-A)

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

print(N**2 - A)

# Example run
# Input:
-337
3782763
# Output:
-3669194
N = int(input())
A = int(input())
answer = N**2 - A

print(answer)

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

print(N**2 - A)

# Example run
# Input:
-15860207
-54634663
# Output:
251546220717512
def main():
    N = int(input())
    A = int(input())
    print(N**2-A)


if __name__ == "__main__":
    main()


# Example run
# Input:
-639
-105988
# Output:
514309
N = int( input() )
A = int( input() )

print( N*N - A )

# Example run
# Input:
4073
15753484
# Output:
835845
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:
-14519
647746204
# Output:
-436944843
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*n-a)

# Example run
# Input:
-5
-1846
# Output:
1871
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
22349
-2031692
# Output:
501509493
N = int(input())
x = int(input())
print(N*N-x)


# Example run
# Input:
847080
2301222
# Output:
717542225178
N = int(input())
A = int(input())
print(N*N - A)

# Example run
# Input:
5537982
56552
# Output:
30669244575772
n = int(input())
a = int(input())

print(n * n - a)

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


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

# Example run
# Input:
3132478
-7930
# Output:
9812418428414
n=int(input())
m = int(input())
print(n**2 - m)

# Example run
# Input:
-102
1
# Output:
10403
n = int(input())
m = int(input())
print(n**2-m)

# Example run
# Input:
-1
234865
# Output:
-234864
# coding: utf-8
def get_ln_inputs():
    return input().split()


def get_ln_int_inputs():
    return list(map(int, get_ln_inputs()))


def main():
    N = get_ln_int_inputs()[0]
    A = get_ln_int_inputs()[0]
    print(N * N - A)
    return


main()

# Example run
# Input:
-848
-29392
# Output:
748496
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-2608672
1267176863
# Output:
6803902426721
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:
-1219978197
-1151131
# Output:
1488346801156521940
a = int(input())
b = int(input())
print(a ** 2 - b)

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

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


# Example run
# Input:
-15
-17649222
# Output:
17649447
n = int(input())
a = int(input())
ans = pow(n,2)-a
if ans <= 0:
    print(pow(n,2))
else:
    print(ans)


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

# Example run
# Input:
-15220
71127
# Output:
231577273
n = int(input())
A = int(input())

print(n*n - A)

# Example run
# Input:
2569
30315
# Output:
6569446
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-2031692
-1843740
# Output:
4127774226604
n = int(input())
a = int(input())

print(n * n - a)

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

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

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

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

# Example run
# Input:
-322623
-233
# Output:
-645013
N=int(input())
A=int(input())

print(N*N-A)




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

block = N * N
ans = block - A

print(ans)


# Example run
# Input:
1484193033
8195
# Output:
2202828959205730894
# -*- coding: utf-8 -*-

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

print(n*n-a)


# Example run
# Input:
137752
-5930
# Output:
18975619434
def main():
    n = int(input())
    a = int(input())
    print(n*n-a)


if __name__ == "__main__":
    main()

# Example run
# Input:
-1
-3439167
# Output:
3439168
import sys
import math
import bisect

def main():
    n = int(input())
    a = int(input())
    print(n ** 2 - a)
    
if __name__ == "__main__":
    main()


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

# Example run
# Input:
1620090
37269982
# Output:
2624654338118
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
5
-16636369
# Output:
16636394
N = int(input())
A = int(input())
print(N**2 - A)


# Example run
# Input:
-182
-407
# Output:
33531
N = int(input())
A = int(input())
print(N * N - A)


# Example run
# Input:
10
-24
# Output:
124
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
#a = [list(input()) for _ in range(n)]
#a = [int(input()) for _ in range(n)]


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

print(n*n-a)



# Example run
# Input:
7612582
-61
# Output:
57951404706785
# AtCoder
N = int(input())
A = int(input())

print(N*N-A)


# Example run
# Input:
-7031780
415326
# Output:
49445929553074
n = int(input())
a = int(input())
print(n*n - a)

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

print(n*n-a)

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

# Example run
# Input:
1049999
4
# Output:
1102497899997
N = int(input())
A = int(input())

print(N**2-A)

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

# Example run
# Input:
-52564348
-7737
# Output:
2763010680672841
N = int(input())
A = int(input())
T = N ** 2 - A
if N<100 :
    print(T)
else :
    print(0)

# Example run
# Input:
-233
-293149433
# Output:
293203722
N = int(input())
A = int(input())
print(N ** 2 - A)

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

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

print(N*N-A)

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

# Example run
# Input:
1008752943
-37
# Output:
1017582500011161286
N = int(input())
M = int(input())
print(N * N - M)


# Example run
# Input:
238703
26505
# Output:
56979095704
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**a - b)

# Example run
# Input:
7
203880
# Output:
619663
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
392836532
493
# Output:
154320540873786531
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-4107400
45236
# Output:
16870734714764
n = int(input())
a = int(input())
print(n**2-a)


# Example run
# Input:
236
540
# Output:
55156
N = int(input())
A = int(input())
print(N*N-A)

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

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


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

# Example run
# Input:
4345
-8164991
# Output:
27044016
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-5992
-1
# Output:
35904065
#python3
#@author-SK13

n= int(input())
a= int(input())
print(n*n-a)


# Example run
# Input:
165
-316
# Output:
27541
N=int(input())
A = int(input())
print(N*N-A)

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

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


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


# Example run
# Input:
576384364
15119192
# Output:
332218935048565304
a = int(input())
b = int(input())

print(a ** 2 - b)

# Example run
# Input:
-249164
6114
# Output:
62082692782
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
923
-74461
# Output:
926390
n=int(input())
a=int(input())
ans=n**2-a
print(ans)

# Example run
# Input:
-1002
45236
# Output:
958768
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
33
15473
# Output:
-14384
N = int(input())
A = int(input())
ans = N**2 - A
print(ans)

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

# Example run
# Input:
-101
18995781
# Output:
-18985580
number_of_test = int(input())
number_of_test2 = int(input())

print((number_of_test*number_of_test)-number_of_test2)


# Example run
# Input:
-118998188
-337
# Output:
14160568747283681
n = int(input())
a = int(input())

print(n**2 - a)


# Example run
# Input:
-1759593
-6
# Output:
3096167525655
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 * N - A)


# Example run
# Input:
1288
-11392175
# Output:
13051119
N=int(input())
A=int(input())
print((N*N)-A)

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

# Example run
# Input:
-491914923
0
# Output:
241980291470095929
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**2 - A)

# Example run
# Input:
-2239572
-31
# Output:
5015682743215
# ６月５日
a = int(input())
b = int(input())
c = a**2-b
print(c)

# Example run
# Input:
-3339504
3556893
# Output:
11152283409123
n = int(input())
a = int(input())
print(n ** 2 - a)

# Example run
# Input:
-1502495
3568
# Output:
2257491221457
n = int(input())
a = int(input())
print(n**2 - a)


# Example run
# Input:
3986
3876
# Output:
15884320
n=int(input())
a=int(input())
result=n*n-a
print(result)

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

print(N**2-A)

# Example run
# Input:
8030667
-19797306
# Output:
64491632262195
n=int(input())
a=int(input())
print((n**2)-a)

# Example run
# Input:
-8135
-671550176
# Output:
737728401
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
471619987
-3753932
# Output:
222425412141634101
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
-210
-6
# Output:
44106
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
-1012372
692048
# Output:
1024896374336
N = int(input())
A = int(input())
print(N**2 - A)

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

# Example run
# Input:
1115599
-206075
# Output:
1244561334876
if __name__ == '__main__':
    N = int(input())
    A = int(input())
    print(N ** 2 - A)


# Example run
# Input:
411412
-307298630
# Output:
169567132374
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:
734
-210
# Output:
538966
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-131996639
10921
# Output:
17423112707285400
n=int(input())
print(n**2-int(input()))

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

# Example run
# Input:
-959568
-377
# Output:
920770747001
n = int(input())
a = int(input())
print(n**2 -a)


# Example run
# Input:
0
1950
# Output:
-1950
N = int(input())
A = int(input())
result = N - A
print(str(result))

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


# Example run
# Input:
1506843
130358
# Output:
2270575696291
#!/usr/local/bin python
# -*- coding: utf-8 -*-
#
# ~/PycharmProjects/atcoder/A-BichromeCells.py
#
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
-32359
230
# Output:
1047104651
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 ** 2 - a)


# Example run
# Input:
-19
-11328633
# Output:
11328994
n=int(input())
w=int(input())
print(n**2-w)

# Example run
# Input:
-1201474778
113
# Output:
1443541642170149171
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:
-1219978197
-1151131
-195933
# Output:
0
N = int(input())
A = int(input())
t=N**2-A
print(t)

# Example run
# Input:
-52383
-93026
# Output:
2744071715
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-89067
-10
# Output:
7932930499
# -*- coding: utf-8 -*-

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

cells = N ** 2

print(cells - A)

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

# Example run
# Input:
1382
1810607153
# Output:
-1808697229
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
-1068
977
# Output:
1139647
n=int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
68
12536769
# Output:
-12532145
N=int(input())
A=int(input())

print(N**2-A)

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

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

# Example run
# Input:
-248944
-6
# Output:
61973115142
def resolve():
    n = int(input())
    a = int(input())
    ans = n*n - a
    print(ans)
resolve()

# Example run
# Input:
-52383
-93026
# Output:
2744071715
n=int(input())
a=int(input())
print(n*n-a)


# Example run
# Input:
-131587518
-3766
# Output:
17315274893404090
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
2924
231
# Output:
8549545
N = int(input())
A = int(input())
print(N*N - A)


# Example run
# Input:
-2260822
60
# Output:
5111316115624
N = int(input())
A = int(input())

ans = N**2 - A

print(ans)


# Example run
# Input:
11
5831819
# Output:
-5831698
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
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]

def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


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


if __name__ == '__main__':
    main()


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

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

# Example run
# Input:
-15
3
# Output:
-0.0002962962962962963
N=int(input())
K=int(input())
print(N**2-K)

# Example run
# Input:
-15015728
42339391
# Output:
225472045030593
n = int(input())
a = int(input())

print(n**2-a)

# Example run
# Input:
-7315831
26445607
# Output:
53521356774954
N=int(input())
A=int(input())
print(N*N-A)


# Example run
# Input:
-3391654
-274078593
# Output:
11503590934309
n=int(input())
m=int(input())
print(n*n-m)

# Example run
# Input:
1288
-11392175
# Output:
13051119
x = int(input())
y = int(input())
print(x**2-y)

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

# Example run
# Input:
33159632
30125521
# Output:
1099561164249903
# -*- coding: <encode name> -*-

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

# Example run
# Input:
28952
-124042
# Output:
838342346
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
-3750
-4990296
# Output:
19052796
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-66735
-1628416575
# Output:
6081976800
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-220
9
# Output:
48391
n=int(input())
a=int(input())
print(n*n-a)
#inputはstrに対応
#勝手に改行

# Example run
# Input:
-1355
479
# Output:
1835546
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-7
78378741
# Output:
-78378692
#abc074 a 
n=int(input())
a=int(input())
print(n*n-a)

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

# Example run
# Input:
9545
815520
# Output:
90291505
N=int(input())
A=int(input())

print(N**2-A)

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

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

print(n**2 - a)

# Example run
# Input:
1
2
# Output:
-1
# -*- coding: utf-8 -*-
N = int(input())
A = int(input())
print("{}".format(N**2 - A))

# Example run
# Input:
172
592
# Output:
28992
n=int(input())
a=int(input())
print(n*n-a)


# Example run
# Input:
22349
-2031692
# Output:
501509493
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
115403
-1473424
# Output:
13319325833
N = int(input())
A = int(input())
ans = N * N -A
print(str(ans))

# Example run
# Input:
112781417
20480
# Output:
12719648020507409
a = int(input())
b = int(input())

print(a**2-b)

# Example run
# Input:
-2714471
-5544
# Output:
7368352815385
n=int(input())
a=int(input())
ans=n**2-a
print(ans)

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

# Example run
# Input:
50005047
-6009980
# Output:
2500504731482189
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-2147483648
2147483647
# Output:
4611686016279904257
# N×Nのマス目のうちAマスを塗った残りのマス数

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

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

# Example run
# Input:
8796677
-1595467139
# Output:
77383121709468
n = int(input())
a = int(input())

print(n*n-a)


# Example run
# Input:
-7031780
415326
# Output:
49445929553074
import math


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





if __name__ == '__main__':
    main()


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

# Example run
# Input:
1654605
-7118
# Output:
2737717713143
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
815520
-75
# Output:
665072870475
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    n = i_input()
    a = i_input()

    print(n*n-a)

if __name__ == '__main__':
    main()


# Example run
# Input:
-7315831
26445607
# Output:
53521356774954