Felix6326727/beyond-accuracy-code-comprehension huggingface dataset:
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*N-A)

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

# Example run
# Input:
-150069
470
# Output:
22520704291
N = int(input())
A = int(input())
print(N ** 2 - A)

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

A = int(input())

answer=(N*N)-A

print(answer)

# Example run
# Input:
-3550
-11385106
# Output:
23987606
N = int(input())
A = int(input())
print(N**2-A)


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


# Example run
# Input:
-1865
-3900
# Output:
3482125
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    n=INT()
    a=INT()
    print(n**2-a)
if __name__ == '__main__':
    do()

# Example run
# Input:
-10841372
-2552
# Output:
117535346844936
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:
1
-1
# Output:
2
n = int(input())
a = int(input())

print(n ** 2 - a)

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


# Example run
# Input:
152728624
-5927
# Output:
23326032588939303
n = int(input())
a = int(input())
ans = n**2 - a
print(ans)

# Example run
# Input:
129445
3
# Output:
16756008022
n = int(input())
a = int(input())

print(n ** 2 - a)

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

# Example run
# Input:
-53605951
3
# Output:
2873597982614398
N = int(input())
A = int(input())

print(N**2-A)

# Example run
# Input:
-143907075
5343
# Output:
20709246235050282
a = int(input())
b = int(input())
print(a ** 2 - b)

# Example run
# Input:
-267403
-2597208
# Output:
71506961617
def get_num():
    n = int(input())
    w = int(input())
    return n,w

def check_range(n,w):
    return n in range(1,101) and w in range(n**2+1)

def black_tiles(n,w):
    if (check_range(n,w)):
        return n**2 - w
    else:
        raise Exception('Value out of range')

if (__name__=='__main__'):
    print(black_tiles(*get_num()))

# Example run
# Input:
12
0
# Output:
144
# -*- coding: utf-8 -*-
N = int(input())
A = int(input())

val = N*N-A
if(val >= 0):
  print(N*N-A)
else:
  print(0)


# Example run
# Input:
-39355
1
# Output:
1548816024
n = int(input())
a = int(input())

answer = n ** 2 - a
print(answer)

# Example run
# Input:
633744878
-25
# Output:
401632570391234909
n = int(input())
a = int(input())
print(n*n-a)


# Example run
# Input:
1315
204015990
# Output:
-202286765
N = int(input())
A = int(input())
print(N**2 - A)


# Example run
# Input:
13
-31984233
# Output:
31984402
m = int(input())
n = int(input())
m = m*m
print(m - n)

# Example run
# Input:
-224484380
171476207
# Output:
50393236692508193
a=int(input())
b=int(input())
print(a**2-b)

# Example run
# Input:
-12757070
-16
# Output:
162742834984916
N=int(input())
A=int(input())

print(N**2-A)

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

# Example run
# Input:
-587
337902
# Output:
-114177762191
n = int(input())
a = int(input())

print((n*n)-a)

# Example run
# Input:
178
637
# Output:
31047
def get_num():
    n = int(input())
    w = int(input())
    return n,w

def check_range(n,w):
    return n in range(1,101) and w in range(n**2)


def black_tiles(n,w):
    if (check_range(n,w)):
        return n**2 - w
    else:
        raise Exception('Value out of range')


if (__name__=='__main__'):
    n,w = get_num()
    print(black_tiles(n,w))
    

# Example run
# Input:
6
0
# Output:
36
N = int(input())
A = int(input())

print(N*N - A)

# Example run
# Input:
-57939
68688
# Output:
3356859033
N = int(input())
M = int(input())
print(N**2 - M)

# Example run
# Input:
-22
3945
# Output:
-3461
N = int(input())
A = int(input())

print(N*N-A)

# Example run
# Input:
152
8204110
# Output:
-8181006
a=int(input())
b=int(input())
print(a**2-b)

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

# Example run
# Input:
-377715761
-15212
# Output:
142669196107824333
N=int(input())
A=int(input())

print(N**2-A)


# Example run
# Input:
20078
783548
# Output:
402342536
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 ** 2 - a)

# Example run
# Input:
27795
235
# Output:
772561790
#!/usr/bin/env python3

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

print(N**2 - A)

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

# Example run
# Input:
-89451
-131587518
# Output:
8133068919
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**2 - A)

# Example run
# Input:
-156960
-16
# Output:
24636441616
N=int(input())
K=int(input())
print(N*2-K)

# Example run
# Input:
171694
-639
# Output:
344027
# coding: utf-8
N = int(input())
A = int(input())
print(N ** 2 - A)

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


abc074_a()

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


# Example run
# Input:
170490
77305
# Output:
29066762795
a=int(input())
b=int(input())
print(a*a-b)

# Example run
# Input:
-1
-4
# Output:
5
S=input()
#print(S)
count=0
for s in S:
    if s == "0":
        count+=1
    else:
        count+=0
print(count)

# Example run
# Input:
-3.499340663108056e+134
# Output:
3
N=int(input())
K=int(input())
a=list(map(int,input().split()))
s=0
for i in range(len(a)):
  if a[i]<=K-a[i]:
    s=s+2*a[i]
  else:
    s=s+2*(K-a[i])
print(s)


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

print(n*2-a)

# Example run
# Input:
26505
-1938
# Output:
54948
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 ** 2 - a)


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

print(n*n-a)

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

# Example run
# Input:
1
-14665841
# Output:
14665842
N=int(input())
A=int(input())

print(N*N-A)

# Example run
# Input:
1013352
-1
# Output:
1026882275905
X = int(input()) 
A = int(input()) 
ans = X*X - A
print(ans)

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

# Example run
# Input:
-6003607
-1251521
# Output:
36043298261970
n=int(input())
a=int(input())
print(n**-a)

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

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

# Example run
# Input:
5182
0
# Output:
26853124
n = int(input())
a = int(input())

ans = n ** 2 - a
print(ans)

# Example run
# Input:
67
-109089799
# Output:
109094288
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:
112734
211
# Output:
12708954545
n = int(input())
a = int(input())
print(n*n-a)

# Example run
# Input:
-16247
786
# Output:
263964223
N = int(input())
A = int(input())
print(N **2 -A)

# Example run
# Input:
33
15473
# Output:
-14384
n = int(input())
a = int(input())

print(n ** 2 - a)

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

# Example run
# Input:
-1131247330
-9
# Output:
1279720521632128909
#!python3

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


def main():
    ans = N * N - A
    print(ans)


if __name__ == "__main__":
    main()


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

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

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

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

# Example run
# Input:
-1
-1057486868
# Output:
1057486869
n = int(input())
a = int(input())

n *= n
print(n-a)


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

print(N*N - A)

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

# Example run
# Input:
54224730
-1530217
# Output:
2940321345103117
a = int(input())
n = int(input())

print(a**2-n)

# Example run
# Input:
3
-563
# Output:
572
# -*- coding: utf-8 -*-


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


if __name__ == '__main__':
    main()


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


# Example run
# Input:
-25166
4
# Output:
633327552
n = int(input())
a = int(input())

ans = n ** 2 - a

print(ans)

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

# Example run
# Input:
3
-563
# Output:
572
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**2-a)

# Example run
# Input:
-150069
470
# Output:
22520704291
a = int(input())**2
print(a-int(input()))

# Example run
# Input:
449245
-31
# Output:
201821070056
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
-2248
59618
# Output:
4993886
n = int(input())
a = int(input())
print(n - a)

# Example run
# Input:
297476
-6773
# Output:
304249
n = int(input())
a = int(input())
print(n*n-a)

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

# Example run
# Input:
-143891
-195933
# Output:
20704815814
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-194151326
1
# Output:
37694737387558275
N = int(input())
A = int(input())

area = N * N
kuro = area - A 

print(kuro)

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

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

# Example run
# Input:
-1
-217064188
# Output:
217064189
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 * N - A)


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


# Example run
# Input:
-104
14707
# Output:
-3891
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*N-A)

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


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

# Example run
# Input:
719525
6898
# Output:
517716218727
N = int(input())
A = int(input())
print(N**2 - A)

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


# Example run
# Input:
-3327421
-65189385
# Output:
11071795700626
N = int(input())
A = int(input())
print(N**2 - A)

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

print((N**2)-A)

# Example run
# Input:
8
665
# Output:
-601
n = int(input())
a = int(input())

print(n-a)

# Example run
# Input:
-532677058
228
# Output:
-532677286
n = int(input())
s = int(input())
print(n**2 - s)

# Example run
# Input:
522591579
-5
# Output:
273101958441713246
a=int(input())
b=int(input())

print(a**2-b)

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

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

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

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

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

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

print((n*n)-a)

# Example run
# Input:
237
-42600
# Output:
98769
N = int(input())
A = int(input())
print(N**2 - A)

# Example run
# Input:
501
-823224
# Output:
1074225
n = int(input())
a = int(input())

print(n**2 - a)

# Example run
# Input:
40136367
486
# Output:
1610927955958203
A = int(input())
N = int(input())
print(A**2 - N)

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

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

# Example run
# Input:
39
19928
# Output:
-18407
N = int(input())
A = int(input())
print(N*N-A)

# Example run
# Input:
-848
-29392
# Output:
748496
n = int(input())
w = int(input())

print(n ** 2 - w)

# Example run
# Input:
103064229
54477
# Output:
10622235299309964
x = int(input())
y = int(input())
print(x ** 2 - y)


# Example run
# Input:
-24
323
# Output:
253
a=int(input())
b=int(input())
print(a**2-b)

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

# Example run
# Input:
-55649
-7038374
# Output:
3103849575
n = int(input())
a = int(input())

print(n*n - a)

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

print(n ** 2 - a)


# Example run
# Input:
4
213
# Output:
-197
n = int(input())
a = int(input())

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

# Example run
# Input:
1854240
1
# Output:
3438205977599
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*N - A)

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

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

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

print(n * n - a)

# Example run
# Input:
-11385106
-114
# Output:
129620638631350
N=int(input())
A=int(input())
print(N**2-A)

# Example run
# Input:
16
-1975
# Output:
2231
N = input()
n =int(N)
a = input()
A = int(a)
difference = int(n**2-A)
print(difference)

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

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


# Example run
# Input:
1418198351
9
# Output:
2011286562779119192
n = int(input())
A = int(input())
print(n ** 2 - A)


# Example run
# Input:
-147113079
84
# Output:
21642258012860157
N = int(input())
A = int(input())

print(N**2 - A)

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

# Example run
# Input:
32
-1
# Output:
1025
#2019/09/23
N = int(input())
A = int(input())
print(N * N - A)

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

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

# Example run
# Input:
-336241
14
# Output:
113058010067
a=int(input())
b=int(input())
print(a**2-b)

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

# Example run
# Input:
79
6
# Output:
6235
a = int(input())
b = int(input())

print(a*a-b)

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

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

print(n*n - a)


# Example run
# Input:
43064
-3108573
# Output:
1857616669
n = int(input())
a = int(input())

print(n**2-a)

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


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

# Example run
# Input:
-658328
633
# Output:
433395754951
n = int(input())
a = int(input())

print(n*n-a)

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


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

# Example run
# Input:
-274762050
540
# Output:
75494184120201960
n = int(input())
a = int(input())

print(n**2 - a)

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

# Example run
# Input:
-1045030625
-21323
# Output:
1092089007187911948
n = int(input())
m = int(input())

print(n*n-m)

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

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

# Example run
# Input:
-2014406658
1892351448
# Output:
4057834181902377516
n=int(input())
a = int(input())
print(n*n-a)

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

print(N ** 2 - A)


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

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

# Example run
# Input:
-2147483648
2118618
# Output:
4611686018425269286
n = int(input())
a = int(input())

count_black = n ** 2 - a

print(count_black)

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

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


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

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

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

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

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

# Example run
# Input:
26
7348
# Output:
-6672
N=int(input())
A=int(input())
ans=0
ans=N*N-A
print(ans)

# Example run
# Input:
6
-224852
# Output:
224888
N = int(input())
A = int(input())

print(N ** 2 - A)

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

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

print(n**2-a)

# Example run
# Input:
1107525
1407
# Output:
1226611624218
a = int(input())
b = int(input())
print(a*a-b)

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

print(a ** 2 -b)

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


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

ans = N**2 - A

print(ans)

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

# Example run
# Input:
-54544899
-74270783
# Output:
2975146081190984
n = int(input())
a = int(input())

i = n*n

print(i-a)

# Example run
# Input:
-358903
-4422
# Output:
128811367831
N = int(input())
A = int(input())
print(N * N - A)


# Example run
# Input:
0
1
# Output:
-1
value_list = []
number_of_test = int(input())
number_of_test2 = int(input())

print((number_of_test*number_of_test)-number_of_test)


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

cell_all = n * n
ans = cell_all - a
print(ans)

# Example run
# Input:
-3161926
-54
# Output:
9997776029530
n = int(input())
a = int(input())

print(n ** 2 - a)

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


# Example run
# Input:
-31648906
54353
# Output:
1001653250942483
N=int(input())
A=int(input())
print(N*N-A)


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

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

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


# Example run
# Input:
27765262
14
# Output:
770909773928630
N = int(input())
A  = int(input())

print(N**2 - A)

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


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

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

# Example run
# Input:
-38
-115825
# Output:
117269
a = int(input())
b = int(input())

print(a ** 2 - b)



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

# Example run
# Input:
-29792
-24296024
# Output:
911859288
N=int(input())
A=int(input())
print(N*N-A)

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

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

# Example run
# Input:
2057707
-47268285
# Output:
4234205366134
N=int(input())
A=int(input())
print(N*N-A)


# Example run
# Input:
-89083
-3339504
# Output:
7939120393
def li():
    return list(map(int, input().split()))
def mi():
    return map(int, input().split())
def ii():
    return int(input())

N = ii()
A = ii()

print(N * N - A)

# Example run
# Input:
228552
-24756136
# Output:
52260772840
N = int(input())
A = int(input())
r = N*N-A
print(r)


# Example run
# Input:
7233471
-967
# Output:
52323102708808
N = int(input())
A = int(input())
B=N*N-A*A
print(B)

# Example run
# Input:
-2876
-16
# Output:
8271120
def main():
    N = int(input())
    M = int(input())

    print (N**2-M)



if __name__ == "__main__":
    # global stime
    # stime = time.clock()
    main()



# Example run
# Input:
6534
2147483647
# Output:
-2104790491
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**2-A)

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


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

# Example run
# Input:
1376493
197383
# Output:
1894732781666
a = int(input())
b = int(input())

print(a**2 - b)

# Example run
# Input:
1472567340
8
# Output:
2168454570834675592
n=int(input())
a=int(input())

print(n*n-a)

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

# Example run
# Input:
-1771
87
# Output:
3136354