We have an N \times N square grid.
We will paint each square in the grid either black or white.
If we paint exactly A squares white, how many squares will be painted black?

-----Constraints-----
 - 1 \leq N \leq 100
 - 0 \leq A \leq N^2

-----Inputs-----
Input is given from Standard Input in the following format:
N
A

-----Outputs-----
Print the number of squares that will be painted black.

-----Sample Input-----
3
4

-----Sample Output-----
5

There are nine squares in a 3 \times 3 square grid.
Four of them will be painted white, so the remaining five squares will be painted black.

Difficulty: introductory

Starter code:

Solutions:
print(int(input())**2 - int(input()))

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

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

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


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

print(n*n-a)

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

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

print(int(input()) ** 2 - int(input()))

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

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

# A - Bichrome Cells

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


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

print(((N * N) - A))


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

# N×Nのマス目のうちAマスを塗った残りのマス数

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

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

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

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

print((N ** 2 - A))


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

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

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

N, A = (int(input()) for i in range(2))
print(N**2 - A)

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

ans = n*n-a

print(ans)

print(int(input())**2-int(input()))

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

print(N*N - A)

x = int(input())
y = int(input())
print(x**2-y)

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

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

# 出力
print(answer)

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

print(n * n - a)

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

print((N * N - A))


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

print(int(input())**2 - int(input()))

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

N *= N
B = N - A

print(B)

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

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


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

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

print(N**2 - A)

def main():
    n, a = (int(input()) for _ in range(2))
    print(n**2 - a)


main()

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

print(n**2-a)

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

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


def iroha():
    a = [int(input()) for i in range(2)]
    print(a[0]*a[0]-a[1])
    
def __starting_point():
    iroha()
__starting_point()

#
# abc074 a
#
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """3
4"""
        output = """5"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """19
100"""
        output = """261"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """10
0"""
        output = """100"""
        self.assertIO(input, output)


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

    print((N*N-A))


def __starting_point():
    # unittest.main()
    resolve()

__starting_point()

#   AtCoder abc074 a
#   ストレッチ課題

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

#   処理
black = n ** 2 - white

#   出力
print(black)


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

# 処理
answer = N ** 2 - A

# 出力
print(answer)

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

print( (N ** 2 ) - A)

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

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

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


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

S_list = [int(input()) for i in range(2)]

print((S_list[0]**2 - S_list[1]))


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

# 制約
# 1 ≦ N ≦ 100
# 0 ≦ A ≦ Nの2乗

# 標準入力から N, A の値を取得する
n = int(input())
a = int(input())

# 計算結果を出力する
result = (n * n) - a

print(result)


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

print(N * N - A)

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

print(N * N - A)

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

# 074_a
N=int(input())
A=int(input())
sum=N*N
if (1<=N and N<=100) and (0<=A and A<=N**N):
    print(sum-A)

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

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


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

# Nのますめと白に塗ったマス目Aを整数で入力
N = int(input())
A = int(input())
# N*NマスからAマス塗ったを余りを出力
print(N**2 - A)

#!/usr/bin/env python3

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


def __starting_point():
    main()

__starting_point()

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


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

N = int(input())
A = int(input())
print(max(N*N-A,0))

# 074a

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

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


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

# N×Nのマス目があります
N *= N

# Aマスを白色に塗るとき、黒色に塗ることになるマスはいくつあるか出力
B = N - A
print(B)

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

print(N**2 - A)

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

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


# A - Bichrome Cells
# https://atcoder.jp/contests/abc074/tasks/abc074_a

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

i = N * N
result = i - A

print(result)


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

print(n**2 - a)

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

print(N ** 2 - A)

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

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

print(N ** 2 - A)

a=int(input())
b=int(input())
print(a**2-b)

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

print(n*n - a)

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


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

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

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

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

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


# マスの総数と白色のマス数を取得
N = int(input())
A = int(input())
Total = N ** 2

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


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

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


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

get_colored_cells()

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

y = n * n
x = y - a

print(x)

print((int(input()) ** 2) - int(input()))

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

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

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

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

N, A = (int(input()) for i in range(2))
print(N ** 2 - A)

print(int(input())**2-int(input()))

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

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

#!/usr/bin/env python3

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


def __starting_point():
    main()

__starting_point()

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

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

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

print(a ** 2 - b)

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

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

print(N ** 2 - A)

a,b=[int(input()) for i in range(2)]

print(a**2-b)

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

print(n * n - a)

with open(0) as f:
    n, a = map(int, f.read().split())
print(n**2-a)