Felix6326727/beyond-accuracy-code-comprehension huggingface dataset:
from functools import reduce
import math

def main():
    # 文字列の2進数を数値にする
    # '101' → '5'
    # 文字列の頭に'0b'をつけてint()にわたす
    # binary = int('0b'+'101',0)

    # 2進数で立っているbitを数える
    # 101(0x5) → 2
    # cnt_bit = bin(5).count('1')
    
    # N! を求める
    # f = math.factorial(N)

    # N の逆元
    # N_inv = pow(N,MOD-2,MOD)

    # nCr
    # Nの階乗 * rの階乗の逆元 * n-rの階乗の逆元
    
    # 切り捨て
    # 4 // 3
    # 切り上げ
    #-(-4 // 3)
    
    # 初期値用:十分大きい数(100億)
    INF = float("inf")

    # 大きな素数
    MOD = 10**9+7
    
    # 1文字のみを読み込み
    # 入力:2
    # a = input().rstrip()
    # 変数:a='2'
    
    # スペース区切りで標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a, b, c, d = (int(_) for _ in input().split())  
    # 変数:a=2 b=4 c=5 d =7
    
    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a = list(int(_) for _ in input().split())
    # 変数:a = [2, 4, 5, 7]    

    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2457
    # a = list(int(_) for _ in input())
    # 変数:a = [2, 4, 5, 7]    
    N = int(input())
    A = int(input())
    
    print(N*N - A)
    
if __name__ == '__main__':
    main()


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

# Example run
# Input:
-31
-58867430
# Output:
58868391
N = int(input())
A = int(input())
T = N ** 2 - A
if N<100 :
    print(T)
else :
    print(0)

# Example run
# Input:
-4144845
-5036400
# Output:
17179745110425
N=int(input())
A=int(input())
masunum=N*N
print(masunum-A)

# Example run
# Input:
27795
235
# Output:
772561790
N = int(input())
A = int(input())

print(N*N - A)

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

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

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

# Example run
# Input:
-1243251189
-1
# Output:
1545673518949913722
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-2147483648
16667401
# Output:
4611686018410720503
N = int(input())
A = int(input())

print(N**2 - A)

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

# Example run
# Input:
936150587
-24756136
# Output:
876377921565200705
n = int(input())
a = int(input())
print(n*n-a)

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

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

# Example run
# Input:
1363926
77305
# Output:
1860294056171
N = int(input())
A = int(input())

print(N**2-A)

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

print(N*N -A )

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

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


# Example run
# Input:
242208
94838
# Output:
58664620426
import sys

# sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int()
    a = read_int()
    res = n * n - a
    print(res)


main()


# Example run
# Input:
-8439645
709214891
# Output:
71226898511134
n = int(input())
a = int(input())

print((n**2)-a)

# Example run
# Input:
24314
5184928
# Output:
585985668
N = int(input())
A = int(input())
print(N**2 - A)

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

# Example run
# Input:
-38606206
6825
# Output:
1490439141707611
n = int(input())
a = int(input())
print(n * n - a)

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

# Example run
# Input:
332
77305
# Output:
32919
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
224
-3753932
# Output:
3804108
n = int(input())
a = int(input())

print(n*n -a) 

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

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

# Example run
# Input:
-4402535
-177193
# Output:
19382314603418
def resolve():
    N = int(input())
    A = int(input())
    print(N*N-A)


if '__main__' == __name__:
    resolve()

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


# Example run
# Input:
-43332
-2147483648
# Output:
4025145872
def main():
  a = int(input())
  white = int(input())
  print((a * a) - white)

if __name__ == '__main__':
  main()

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


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

print((N**2) - A )

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

print(n*n-a)

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

print(N*N - A)

# Example run
# Input:
-3
7
# Output:
2
n = int(input())
a = int(input())

print(n*n-a)

# Example run
# Input:
-43
-5908354
# Output:
5910203
n = int(input())
a = int(input())

print(n * n - a)


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

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

# Example run
# Input:
-131587518
-3766
# Output:
17315274893404090
# -*- coding: utf-8 -*-

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

result = n * n - a
print(result)

# Example run
# Input:
1049999
4
# Output:
1102497899997
N = int(input())
A = int(input())
print(max(0,N**2-A))

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

# Example run
# Input:
-12353
1005028
# Output:
151591581
N = int(input())
A = int(input())
print(N**2-A)

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

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

# Example run
# Input:
-212
-114929002
# Output:
114973946
a=int(input())
b=int(input())
print((a*a)-b)

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

print(n**2 - a)

# Example run
# Input:
-3
28016
# Output:
-28007
N  = int(input())

A = int(input())

result = pow(N,2) - A

print(result)


# Example run
# Input:
2817
-15415740
# Output:
23351229
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
80731065
1186387
# Output:
6517504854847838
import sys

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

print(n**2-a)

# Example run
# Input:
324561252
-33
# Output:
105340006299807537
a=int(input())
b=int(input())
print(a**2-b)

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


# Example run
# Input:
2147483647
0
# Output:
4611686014132420609
N = int(input())
A = int(input())
result = N**2 - A
print(str(result))

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

# Example run
# Input:
-696
-2978029
# Output:
3462445
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*N-A)

# Example run
# Input:
-31
-58867430
# Output:
58868391
def main():
    n = int(input())
    x = int(input())
    print(n*n - x)


if __name__ == "__main__":
    main()


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


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


# Example run
# Input:
12293
12494970
# Output:
138622879
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
171931
331737
# Output:
29559937024
# -*- coding: utf-8 -*-

n = int(input())
k = int(input())
x = list(map(int, input().split())) #x[0->(n-1)]

sum = 0

for i in x:
    if i < k - i:
        sum = sum + i
    else:
        sum = sum + k - i

print(sum)

# Example run
# Input:
-4705
-2410709
-3225
# Output:
-2407484
# A - Bichrome Cells

# N*Nのマス目があり、Aマスを白に塗った場合、残りは何マスか


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:
-38
-17
# Output:
1461
N = int(input())
A = int(input())
print(N*N-A)

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

# Example run
# Input:
-17367
-40831043
# Output:
342443732
a=int(input())
b=int(input())
z=a*a
ans=z-b
print(ans)

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

# Example run
# Input:
665422
14319043
# Output:
442772119041
N = int(input())
A = int(input())

print(N**2 - A)


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

# Example run
# Input:
591
5101803
# Output:
-4752522
n = int(input())
a = int(input())

print(n ** 2 - a)

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

# Example run
# Input:
-10598
96
# Output:
-21292
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 * N - A)

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

# Example run
# Input:
20580
1700
# Output:
423534700
N = int(input())
A = int(input())
print((N*N)-A)

# Example run
# Input:
-516
148298
# Output:
117958
N = int(input())
A = int(input())

print(N * N - A)

# Example run
# Input:
-4
0
# Output:
16
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 * N - A)


# Example run
# Input:
-20106
-81521
# Output:
404332757
N=int(input())
A=int(input())
print(N*N-A)

# Example run
# Input:
-16240
1637046672
# Output:
-1373309072
N = int(input())
A = int(input())
print(N * N - A)

# Example run
# Input:
235
-28
# Output:
55253
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 * n - a)

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

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

# Example run
# Input:
533947427
15753484
# Output:
285099854784166845
#-*-coding:utf-8-*-

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

    print(n ** n - a)

if __name__ == '__main__':
    main()

# Example run
# Input:
-19
-13
# Output:
13.0
n = int(input())**2
print(n-int(input()))

# Example run
# Input:
12273460
-838
# Output:
150637820372438
n = int(input())
s = int(input())

print(n**2- s)

# Example run
# Input:
15761764
-37
# Output:
248433204391733
N = int(input())
A = int(input())

print(N * N - A)


# Example run
# Input:
14323
6538471
# Output:
198609858
n = int(input())
a = int(input())

print(n ** 2 - a)


# Example run
# Input:
1186387
-1643990
# Output:
1407515757759
N = int(input())
A = int(input())

print(N*N-A)

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

print(N*N-A)


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


# Example run
# Input:
56
-2
# Output:
3138
# A - Bichrome Cells

# N * N のマス目がある。
# このマス目の各マスを白色または黒色に塗ることにしました (すべてのマスをどちらか片方の色に塗ります)
# ちょうど  A マスを白色に塗るとき、黒色に塗ることになるマスはいくつあるでしょうか。

# 黒色に塗ることになるマスの個数を出力

# 標準入力 N
N = int(input())

# 標準入力 A
A = int(input())
# print(N, A)

# マス数を計算
square_num = N * N
# print(square_num)

# 黒色に塗るマスの量を計算
answer = square_num - A

# 結果を出力
print(answer)


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

# Example run
# Input:
-1
734377
# Output:
-734376
n = int(input())
a = int(input())

print(n**2-a)

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

# Example run
# Input:
-260
-1628416575
# Output:
1628484175
n = int(input().strip())
a = int(input().strip())

print(n*n-a)


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

# Example run
# Input:
-125464087
14138
# Output:
15741237126729431
n = int(input())
a = int(input())

print(n**2-a)

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


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

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


if __name__ == '__main__':
    main()


# Example run
# Input:
-3550
-11385106
# Output:
23987606
n = int(input())
a = int(input())

print(n**2 - a)

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


# Example run
# Input:
-12
2269160
# Output:
-2269016
if __name__ == "__main__":
    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:
7169
30456987
# Output:
20937574
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-848
-29392
# Output:
748496
# 074a

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

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


# Example run
# Input:
2657144
-213904
# Output:
7060414450640
n = int(input())
a = int(input())

ans = n*n-a
print(ans)

# Example run
# Input:
230
1745
# Output:
51155
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:
-358903
-4422
# Output:
128811367831
n = int(input())
a = int(input())
print(n ** 2 - a)

# Example run
# Input:
474
308986
# Output:
-84310
N=int(input())
A=int(input())

print((N*N)-A)

# Example run
# Input:
55
715035410
# Output:
-715032385
a=int(input())
b=int(input())
print(a*a - b)

# Example run
# Input:
12
2851
# Output:
-2707
N = int(input())
A = int(input())

print((N**2) - A)

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

# Example run
# Input:
-1283298067
-16126399
# Output:
1646853928782062888
n = int(input())
a = int(input())
print(n*n - a)

# Example run
# Input:
1186387
-1643990
# Output:
1407515757759
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
-184371777
4753830
# Output:
33992952149383899
def main():
    N = int(input())
    A = int(input())
    print(N*N-A)

if __name__=='__main__':
    main()


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

# Example run
# Input:
957440
1298813
# Output:
916690054787
a = int(input())
b = int(input())

print(a**2-b)

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

# Example run
# Input:
-56661351
981571
# Output:
3210508696163630
N = int(input())
A = int(input())

print(N ** 2 - A)

# Example run
# Input:
-256478906
-8056
# Output:
65781429222964892
N = int(input())
A = int(input())
print(N * N - A)


# Example run
# Input:
-10
453
# Output:
-353
N = int(input())
A = int(input())
print(N**2-A)

# Example run
# Input:
-6990
401903957
# Output:
-353043857
N = int(input())
A = int(input())
 
print(N**2-A)

# Example run
# Input:
0
-6956
# Output:
6956
#   AtCoder abc074 a
#   ストレッチ課題

#   入力
n = int(input())
white = int(input())

#   処理
black = n ** 2 - white

#   出力
print(black)


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

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


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

# Example run
# Input:
-9307163
416143
# Output:
86623282692426
n = int(input())
a = int(input())
print(n * n - a)


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

# Example run
# Input:
-9
89
# Output:
-8
N = int(input())
A = int(input())

print(N * N - A)


# Example run
# Input:
7612582
-61
# Output:
57951404706785
n = int(input())
a = int(input())

print(n**2-a)

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


# Example run
# Input:
-125464087
14138
# Output:
15741237126729431
# 入力
N = int(input())
A = int(input())

# 処理
answer = N ** 2 - A

# 出力
print(answer)

# Example run
# Input:
24243107
0
# Output:
587728237013449
N = int(input().strip())
w = int(input().strip())
print(N*N-w)


# Example run
# Input:
-591
41555
# Output:
307726
n = int(input())
a = int(input())

print(n*n-a)


# Example run
# Input:
-10006
-3329726
# Output:
103449762
N = int(input())
A = int(input())
print(N*N - A)

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

# Example run
# Input:
64
1294
# Output:
2802
n=int(input())
a=int(input())

print(n**2-a)

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

# Example run
# Input:
-224484380
171476207
# Output:
50393236692508193
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:
0
-60875
# Output:
60875
N=int(input())
A=int(input())

print(N*N-A)

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

# Example run
# Input:
-322623
-233
# Output:
104085600362
#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      paulr
#
# Created:     30/04/2020
# Copyright:   (c) paulr 2020
# Licence:     <your licence>
#-------------------------------------------------------------------------------

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

N=n*n

ans=N-a

print(ans)

# Example run
# Input:
18673
158
# Output:
348680771
def read_line(*types): return [f(a) for a, f in zip(input().split(), types)]

n, = read_line(int)
a, = read_line(int)


print(n * n - a)


# Example run
# Input:
-7899184
686777
# Output:
62397107179079
N = int(input())
A = int(input())

print(N*N - A)


# Example run
# Input:
-4283
169119120
# Output:
-150775031
n = int(input())
a = int(input())

print(n ** 2 - a)

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

# Example run
# Input:
-7737
-126905272
# Output:
186766441
a = int(input())
b = int(input())
print(((a*a)-b))

# Example run
# Input:
-1836
-18639738
# Output:
22010634
N = int(input())
A = int(input())
print(N**2-A)

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

print(N**2-A)

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



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


# Example run
# Input:
-150069
470
# Output:
22520704291
n = int(input())
w = int(input())
ans = n ** 2 - w
print(str(ans))

# Example run
# Input:
949995462
51
# Output:
902491377820593393
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

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

# Example run
# Input:
-106916773
252153
# Output:
11431196348481376
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
n  = int( input())
a  = int( input())

print(n**2-a)


# Example run
# Input:
-235202
-473
# Output:
55319981277
a = int(input())
b = int(input())
print((a*a)-b)


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

# Example run
# Input:
-1015053308
-54634663
# Output:
1030333218136377527
use = int(input())
use1 = int(input())

print(use ** 2 - use1)

# Example run
# Input:
26550845
76
# Output:
704947370213949
n = int(input())
a = int(input())
print(n * n - a)


# Example run
# Input:
-12503953
-345658
# Output:
156348840971867
n = int(input())
a = int(input())
ans = n * n - a
print(ans)

# Example run
# Input:
-464240
19804
# Output:
215518757796
n=int(input())
a=int(input())
print(n*n - a)

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

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

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

print(N**2-A)

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

# Example run
# Input:
-60432
14802
# Output:
3652011822
N = int(input())
A = int(input())
print(N*N-A)


# Example run
# Input:
-35
1
# Output:
1224
n = int(input())
a = int(input())

print(n**2 - 1)

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

print(n*n-a)


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

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

tmp = N**2-A

if tmp >= 0:
    print(tmp)
else:
    print(N**2)

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

# Example run
# Input:
-1415818695
-227062494
# Output:
2004542577338565519
N=int(input().strip())
A=int(input().strip())
print(N*N-A)

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

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

# Example run
# Input:
-2058894
298151
# Output:
4239044205085
N = int(input())
A = int(input())

print(N * N - A)


# Example run
# Input:
-164378
184
# Output:
27020126700
N = int(input())
A = int(input())
print(N**2 -A)

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

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

print(N*N-A)

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

# Example run
# Input:
2851
108968
# Output:
8019233
n=int(input())
a=int(input())

print(n**2-a)



# Example run
# Input:
-24318
-51132021
# Output:
642497145
# -*- coding: utf-8 -*-

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

print(n*n-a)

# Example run
# Input:
-1998
-147
# Output:
3992151
masu = int(input())**2
white = int(input())

print(masu-white)

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

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

# Example run
# Input:
-728818981
-2811762
# Output:
531177107068690123
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
-1131247330
-9
# Output:
1279720521632128909
N=(int)(input())
A=(int)(input())
print(str(N*N-A))

# Example run
# Input:
17741045
142
# Output:
314744677691883
#ABC74
n = int(input())
a = int(input())
print(n**2-a)

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

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

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

# Example run
# Input:
-3762
-17
# Output:
14152661