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

print(n**2 -a)

# Example run
# Input:
624906
0
# Output:
390507508836
N = int(input())
A = int(input())

print(N-A)

# Example run
# Input:
411
-981245579
# Output:
981245990
N=int(input())
a=int(input())

print(N**2-a)

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

print(N * N - A)


# Example run
# Input:
5018000
53
# Output:
25180323999947
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
6
211
# Output:
-175
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
59
380581
# Output:
-377100
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
-26
-33440045
# Output:
33440721
# -*- coding:utf-8 -*-
N = int(input())
A = int(input())
print(N*N-A)

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






# Example run
# Input:
-50
-420252
# Output:
422752
N=int(input())
A=int(input())
print(max(0,(N**2)-A))

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


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

print((N*N)-A)

# Example run
# Input:
-465
3
# Output:
216222
n = int(input())
a = int(input())

print(n**2 - a)

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

# Example run
# Input:
-16126399
54237172
# Output:
260060690470029
N = int(input())
A = int(input())

ans = N**2 - A

print(ans)

# Example run
# Input:
-2875339
-10855
# Output:
8267574375776
n = int(input())
a = int(input())

print((n * n) - a)

# Example run
# Input:
-11989124
-407
# Output:
143739094287783
n = int(input())
a = int(input())
print(n * n - a)

# Example run
# Input:
10132764
274829
# Output:
102672906004867
n=int(input())
print(n*n-int(input()))

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

# Example run
# Input:
-253
-19
# Output:
64028
N = int(input())
A = int(input())
print(N ** 2 - A)

# Example run
# Input:
-2556
-80246
# Output:
6613382
def read_input():
    n = int(input())
    a = int(input())
    return n, a


def submit():
    n, a = read_input()
    print(n*n - a)


if __name__ == '__main__':
    submit()

# Example run
# Input:
3770
22710854
# Output:
-8497954
n = int(input())
a = int(input())
print(n*n - a)

# Example run
# Input:
19
0
# Output:
361
import sys
import math
import collections
import itertools
import array
import inspect

# Set max recursion limit
sys.setrecursionlimit(10000)

# Debug output
def chkprint(*args):
    names = {id(v):k for k,v in inspect.currentframe().f_back.f_locals.items()}
    print(', '.join(names.get(id(arg),'???')+' = '+repr(arg) for arg in args))

# Binary converter
def to_bin(x):
    return bin(x)[2:]

# Set 2 dimension list
def dim2input(N):
    li = []
    for _ in range(N):
        li.append(input().split())
    return li

# --------------------------------------------

dp = None

def main():
    N = int(input())
    A = int(input())

    print(N*N - A)

main()


# Example run
# Input:
168618
188355
# Output:
28431841569
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

N = n()
A = n()

print(N*N-A)


# Example run
# Input:
30291214
19487
# Output:
917557645574309
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
21181
7
# Output:
448634754
N = int(input())
A = int(input())
brack = N ** N - A
print(brack)

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

# Example run
# Input:
34675473
-579377
# Output:
1202388428353106
# -*- coding utf-8 -*-

n=int(input())
k=int(input())
x=list(map(int,input().split()))
ans=0

for i in range(n):
    ans+=min(x[i],abs(k-x[i]))

print(ans*2)


# Example run
# Input:
-19
2147483647
1090
# Output:
0
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
-696
-2978029
# Output:
3462445
N = int(input())
A = int(input())
print((N**2)-A)

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

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

# Example run
# Input:
81077
-4960271
# Output:
6578440200
a=int(input())
print(a**2-int(input()))

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

# Example run
# Input:
-15620401
2022936
# Output:
243996925377865
n = int(input())
a = int(input())

y = n * n
x = y - a

print(x)

# Example run
# Input:
-89579
-64
# Output:
8024397305
n=int(input())
a=int(input())
print(n*n-a)

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

print(n**2 - a)

# Example run
# Input:
9307182
-129827477
# Output:
86623766608601
N = int(input())
A = int(input())

print(N*N-A)


# Example run
# Input:
140712839
21
# Output:
19800103059439900
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
19487
-126312
# Output:
379869481
n=int(input()) 
a=int(input())
print(n**2-a)

# Example run
# Input:
473300
19487
# Output:
224012870513
n = int(input())
a = int(input())
print(n**2-a)

# Example run
# Input:
-52
-147369
# Output:
150073
n=int(input())
a=int(input())
print(n*n-a)

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

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


# Example run
# Input:
3986
3876
# Output:
15884320
#入力
N = int(input())
A = int(input())
#ますの数を数える
N = N * N
#ますの数から白に塗る部分を引いて黒の文をだす
Black = N  - A
#出力
print(Black)

# Example run
# Input:
-479798
-3025884
# Output:
230209146688
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-25
-128585
# Output:
129210
import heapq
from collections import deque
from enum import Enum
import sys
import math
from _heapq import heappush, heappop

BIG_NUM = 2000000000
MOD = 1000000007
EPS = 0.000000001


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

print("%d"%(N*N-A))


# Example run
# Input:
686777
-639
# Output:
471662648368
N = int(input())
A = int(input())

print(N*N-A)

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

# Example run
# Input:
-255
2147483647
# Output:
-2147418622
n = int(input())
a = int(input())

print(n*n-a)


# Example run
# Input:
-48
549
# Output:
1755
# マスの総数と白色のマス数を取得
N = int(input())
A = int(input())
Total = N ** 2

# 黒色に塗るマス数を計算して出力
Black = Total - A
print(Black)


# Example run
# Input:
-57594492
-2243514
# Output:
3317125510981578
N = int(input())
A = int(input())
print(N ** 2 - A)

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


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

print(N*N - A)

# Example run
# Input:
320955532
-466739589
# Output:
103012453988142613
a = int(input())
b = int(input())
print(a**2-b)

# Example run
# Input:
-2713
-322623
# Output:
7682992
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
713362851
133233772
# Output:
508886557053614429
N = int(input())
A = int(input())
print(N**2-A)


# Example run
# Input:
4331
-1463
# Output:
18759024
n = int(input())
a = int(input())
print(n**2-a)


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


# Example run
# Input:
26131
1748
# Output:
682827413
a = int(input())
b = int(input())
print(a*a - b)

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

print(n**2 - a)

# Example run
# Input:
-99110661
2
# Output:
9822923123856919
n = int(input())
print(n*n - int(input()))

# Example run
# Input:
-1138
-22588477
# Output:
23883521
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
-2540
-1836
# Output:
6453436
def main():
    N = int(input())
    A = int(input())
    
    print(N**2 - A)
    
if __name__=="__main__":
    main()

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

# Example run
# Input:
2180
13
# Output:
4752387
N=int(input())
A=int(input())
B=N**2-A
print(B)


# Example run
# Input:
-147113079
84
# Output:
21642258012860157
a = int(input())
b = int(input())
print(a*a-b)

# Example run
# Input:
-1351531223
-7517
# Output:
1826636646743883246
N = int(input())
A = int(input())
print(N**2 - A)


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

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

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

print(N**2 - A)

# Example run
# Input:
16793
-240192
# Output:
282245041
n = int(input())
print(n**2-int(input()))


# Example run
# Input:
-177193
156713
# Output:
31397202536
n = int(input())
a = int(input())
print( n*n - a )

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

# Example run
# Input:
-296641124
-21
# Output:
87995956447983397
N=int(input())
A=int(input())
print(N**2-A)


# Example run
# Input:
-11870
1063812
# Output:
139833088
n = int(input())**2
a = int(input())
print(n-a)


# Example run
# Input:
-36
-41200762
# Output:
41202058
n = int(input())
a = int(input())
print(int(n*n - a))

# Example run
# Input:
-2451
-35741168
# Output:
41748569
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-507621088
28016
# Output:
257679168982275728
N = int(input())
A = int(input())

print(N**2 - A)

# Example run
# Input:
-8397164
98020
# Output:
70512363144876
n=int(input())
a=int(input())
print(n**2-a)

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

print(n * n - a)

# Example run
# Input:
35
161887817
# Output:
-161886592
N=int(input())
A=int(input())

print(int(N*N-A))


# Example run
# Input:
41614
793
# Output:
1731724203
N = int(input())
A = int(input())
print(N ** 2 - A)


# Example run
# Input:
-439
20405993
# Output:
-20213272
# 入力
# n, a = map(int, input().split())
n = int(input())
a = int(input())

# 処理
answer = n * n - a

# 出力
print(answer)

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

# Example run
# Input:
-88999747
1
# Output:
7920954966064008
n = int(input())
a = int(input())
#ls = list(input().split(" "))
#ls = list(map(int,input().split(" ")))
#a,b,c = list(map(int,input().split(" ")))

print(n*n - a)

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

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

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

print(n*n-a)

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

# Example run
# Input:
18995781
1506843
# Output:
360839694293118
N = int(input())
A = int(input())
print(str(N**2-A))

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

# Example run
# Input:
743812855
1451
# Output:
553257563263249574
N = int(input())
A = int(input())
print(N ** 2 - A)


# Example run
# Input:
1901880
5425820
# Output:
3617142108580
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
230
1745
# Output:
51155
N = int(input())
A = int(input())

ans = N**2 - A

print(ans)

# Example run
# Input:
-2147483648
450137
# Output:
4611686018426937767
#!/usr/bin/env python3

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


if __name__ == "__main__":
    main()


# Example run
# Input:
0
142
# Output:
-142
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*n-a)

# Example run
# Input:
110279
-7196691
# Output:
12168654532
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-57939
68688
# Output:
3356859033
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 * N - A)

# Example run
# Input:
-123410341
9062461
# Output:
15230112256673820
n = int(input())
a = int(input())
print(n**2 - a)

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

# Example run
# Input:
-213932
0
# Output:
45766900624
import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections

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

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

x = n*n-a
print(x)

# Example run
# Input:
-44555
-2978029
# Output:
1988126054
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:
1041204430
105477721
# Output:
1084106664946147179
n = int(input())
a = int(input())

print(n**2-a)

# Example run
# Input:
-61080
15753484
# Output:
3715012916
N=int(input())
a=int(input())
x=N**2-a
print(x)

# Example run
# Input:
1973033
-264371717
# Output:
3893123590806
def solve():
    N = int(input())
    A = int(input())
    print(N * N - A)


if __name__ == "__main__":
    solve()

# Example run
# Input:
4743227
-135
# Output:
22498202373664
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
-2777886
182
# Output:
7716650628814
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
-12762
25526938
# Output:
137341706
n = int(input())
a = int(input())

print(n*n - a)


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

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

# Example run
# Input:
-80948565
1676
# Output:
6552670175557549
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**2 - a)


# Example run
# Input:
-227062494
655252
# Output:
51557376180844784
N = int(input())
A = int(input())
print(N ** 2 - A)


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

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

# Example run
# Input:
-108
624906
# Output:
-613242
N = int(input())
A = int(input())

N_sq = N * N

black = N_sq - A

print(black)

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


# Example run
# Input:
394
-699520
# Output:
854756
n = int(input())
a = int(input())
print(n**2 - a)

# Example run
# Input:
1
90
# Output:
-89
#74

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

print(N*N-A)

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


if __name__ == "__main__":
    main()


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

# Example run
# Input:
-129636061
-16
# Output:
16805508311595737
m=int(input())
n=int(input())
print(m*m-n)

# Example run
# Input:
-1181
-659
# Output:
1395420
N=int(input())
A=int(input())
sum==0
s=N*N
sum=s-A
print(sum)

# Example run
# Input:
-573
531
# Output:
327798
n = int(input())
a = int(input())

print(n**2 - a)

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


# Example run
# Input:
-1351531223
-7517
# Output:
1826636646743883246
#coding:utf-8

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

print(N * N - A)


# Example run
# Input:
1611931113
-19
# Output:
2598321913057418788
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
62
20794
# Output:
-16950
N = int(input())
A = int(input())
print(N*N-A)

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

# Example run
# Input:
-51
-6607
# Output:
9208
N = int(input())
A = int(input())

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

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

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

# Example run
# Input:
431
5
# Output:
185756
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
-5058
346
# Output:
25583018
n=int(input())
a=int(input())
print(n**2-a)

# Example run
# Input:
-31081879
2
# Output:
966083202170639
n = int(input())
a = int(input())

print(n ** 2 - a)


# Example run
# Input:
1674
8311
# Output:
2793965
N = int(input())
A = int(input())
print(N**2 - A)

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

# Example run
# Input:
57273801
-98031
# Output:
3280288281085632
n = int(input())
a = int(input())

ans = n*n - a

print(ans)

# Example run
# Input:
-3515890
415326
# Output:
12361482076774
n=int(input())
a=int(input())

print(n**2-a)

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

# Example run
# Input:
-82582
-18579092
# Output:
6838365816
N = int(input())
A = int(input())

print(N**2 - A)

# Example run
# Input:
-82
-607
# Output:
7331
N = int(input())
A = int(input())

print(N * N - A)

# Example run
# Input:
20735611
18
# Output:
429965563543303
a=int(input())
b=int(input())
print(a*a-b)

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

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

# Example run
# Input:
-2
-155
# Output:
159
x = int(input())
y = int(input())
print(x**2-y)


# Example run
# Input:
-74
896742081
# Output:
-896736605
N = int(input())
A = int(input())
print(N * N - A)


# Example run
# Input:
-2777
-504
# Output:
7712233
N = int(input())
A = int(input())
print((N**N)-A)

# Example run
# Input:
-2552
-330190783
# Output:
330190783.0
n=int(input())
a=int(input())

print(n*n-a)

# Example run
# Input:
-640183291
155287
# Output:
409834646075435394
n = int(input())
a = int(input())

print(n * n - a)

# Example run
# Input:
-1057486868
10366
# Output:
1118278475992439058
N = int(input())
A = int(input())
ans = (N**2) - A
print(ans)


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

# Example run
# Input:
-8237735
402
# Output:
67860277929823
# coding: utf-8
# Here your code !
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
-24065165
140290090
# Output:
579132026187135
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    n = f()[0]
    a = f()[0]
    print(n*n - a)

solve()


# Example run
# Input:
-163
4554
# Output:
22015
A = int(input())
N = int(input())
print(N**2 - N)

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

print(N*N-A)

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

print(n*n-a)

# Example run
# Input:
-5559
-114
# Output:
30902595
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
0
-24
# Output:
24
#-*-coding:utf-8-*-

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

    print(n * n - a)

if __name__ == '__main__':
    main()

# Example run
# Input:
-450
139
# Output:
202361
a=int(input())
b=int(input())
print(a*a-b)

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

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

# Example run
# Input:
679804
0
# Output:
462133478416
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:
28016
-48
465
# Output:
-1026
# -*- coding: utf-8 -*-

a=int(input())
b=int(input())

s=a*a-b

print(s)



# Example run
# Input:
-9741012
-62069
# Output:
94887314846213
n=int(input())
s=n*n
x=int(input())
s=s-x
print(s)

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

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

# solve & output
print(N * N - A)


# Example run
# Input:
-981245579
-5058
# Output:
962842886307050299
N=int(input())
A =int(input())
X=N*N

print(X-A)



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

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

# Example run
# Input:
815520
-75
# Output:
665072870475
a = int(input())
b = int(input())

print(a**2 - b)

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

print(N**2-A)

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

print(n*n-a)

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

print(n**2 - a)

# Example run
# Input:
228552
-24756136
# Output:
52260772840
n=int(input())
s=int(input())
print(n*n-s)

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


# Example run
# Input:
-32942311
298151
# Output:
1085195853722570
def main():
    N = int(input())
    A = int(input())

    print(N**2 - A)

if __name__ == '__main__':
    main()


# Example run
# Input:
-2334
-158606
# Output:
5606162
a = int(input())
b = int(input())
print((a**2-b))

# Example run
# Input:
5182
0
# Output:
26853124
N = int(input().rstrip())
A = int(input().rstrip())
N *= N
print(N - A)

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

print(N**2 - A)


# Example run
# Input:
12285509
-181
# Output:
150933731389262
n=int(input())
a=int(input())
print(n^2 -a)

# Example run
# Input:
-1
-3439167
# Output:
-3439170
#n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))

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

print(n**2-a)




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

# Example run
# Input:
1186387
-1643990
# Output:
1407515757759
#Bichrome Cells
N = int(input())
A = int(input())
print(N**2 - A)

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

# Example run
# Input:
395620
1
# Output:
156515184399
# 入力
N = int(input())
A = int(input())

# 出力
print(N ** 2 - A)


# Example run
# Input:
24155
-99716696
# Output:
683180721
n = int(input())
a = int(input())
print(n**2-a)

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


# Example run
# Input:
380581
8
# Output:
144841897553
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**2-A)

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

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

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

# Example run
# Input:
11609
-29082932
# Output:
163851813
N=input()
N=int(N)
A=input()
A=int(A)
print((N**2)-A)

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


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

# Example run
# Input:
90
-296641124
# Output:
296649224
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 * n - a)

# Example run
# Input:
19
-4868286
# Output:
4868647
#coding:utf-8
n=int(input())
a=int(input())
print(n*n-a)

# Example run
# Input:
-902193
6
# Output:
813952209243