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.
[{"code": "print(int(input())**2 - int(input()))", "passed": true, "time": 1.62, "memory": 14036.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nprint(a*a-b)", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n*n-a)", "passed": true, "time": 1.77, "memory": 14084.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint((N*N - A))\n", "passed": true, "time": 0.24, "memory": 14216.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nprint(n*n-a)", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(N**2-A)", "passed": true, "time": 0.24, "memory": 14096.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n**2 - a)", "passed": true, "time": 0.15, "memory": 14176.0, "status": "done"}, {"code": "print(int(input()) ** 2 - int(input()))", "passed": true, "time": 0.16, "memory": 14260.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nprint(a*a-b)", "passed": true, "time": 0.4, "memory": 14124.0, "status": "done"}, {"code": "n=int(input())\na=int(input())\nprint(n*n-a)", "passed": true, "time": 0.15, "memory": 14076.0, "status": "done"}, {"code": "# A - Bichrome Cells\n\n# N*N\u306e\u30de\u30b9\u76ee\u304c\u3042\u308a\u3001A\u30de\u30b9\u3092\u767d\u306b\u5857\u3063\u305f\u5834\u5408\u3001\u6b8b\u308a\u306f\u4f55\u30de\u30b9\u304b\n\n\nN = int(input())\nA = int(input())\n\nprint(((N * N) - A))\n", "passed": true, "time": 0.15, "memory": 14096.0, "status": "done"}, {"code": "n,a=int(input()),int(input())\nprint(n**2-a)", "passed": true, "time": 0.23, "memory": 14324.0, "status": "done"}, {"code": "# N\u00d7N\u306e\u30de\u30b9\u76ee\u306e\u3046\u3061A\u30de\u30b9\u3092\u5857\u3063\u305f\u6b8b\u308a\u306e\u30de\u30b9\u6570\n\nN = int(input())\nA = int(input())\n\nanswer = N ** 2 - A\nprint(answer)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n * n - a)", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint((N ** 2 - A))\n", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n**2-a)", "passed": true, "time": 0.4, "memory": 14152.0, "status": "done"}, {"code": "m = int(input())\nn = int(input())\nm = m*m\nprint(m - n)", "passed": true, "time": 0.15, "memory": 14328.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n ** 2  - a)", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "N, A = (int(input()) for i in range(2))\nprint(N**2 - A)", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nans = n*n-a\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "print(int(input())**2-int(input()))", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N*N - A)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "x = int(input())\ny = int(input())\nprint(x**2-y)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "# \u5165\u529b\nN = int(input())\nA = int(input())\n\n# N\u306e2\u4e57\u3072\u304fA\nanswer = N ** 2 - A\n\n# \u51fa\u529b\nprint(answer)", "passed": true, "time": 0.15, "memory": 14240.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nprint(n * n - a)", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint((N * N - A))\n", "passed": true, "time": 0.15, "memory": 14092.0, "status": "done"}, {"code": "n=int(input())\na=int(input())\nprint(n**2-a)", "passed": true, "time": 0.45, "memory": 14248.0, "status": "done"}, {"code": "print(int(input())**2 - int(input()))", "passed": true, "time": 0.15, "memory": 14060.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nN *= N\nB = N - A\n\nprint(B)", "passed": true, "time": 0.23, "memory": 14080.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nif n ** 2 - a < 0:\n    print((0))\nelse:\n    print((n ** 2 - a))\n", "passed": true, "time": 0.14, "memory": 14068.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(N**2-A)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N**2 - A)", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "def main():\n    n, a = (int(input()) for _ in range(2))\n    print(n**2 - a)\n\n\nmain()", "passed": true, "time": 0.27, "memory": 14028.0, "status": "done"}, {"code": "n=int(input())\na=int(input())\n\nprint(n**2-a)", "passed": true, "time": 0.24, "memory": 14112.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(N * N - A)", "passed": true, "time": 0.26, "memory": 13992.0, "status": "done"}, {"code": "a = int(input())\nprint((a * a - int(input())))\n", "passed": true, "time": 0.15, "memory": 14300.0, "status": "done"}, {"code": "def iroha():\n    a = [int(input()) for i in range(2)]\n    print(a[0]*a[0]-a[1])\n    \ndef __starting_point():\n    iroha()\n__starting_point()", "passed": true, "time": 0.19, "memory": 14168.0, "status": "done"}, {"code": "#\n# abc074 a\n#\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n    def assertIO(self, input, output):\n        stdout, stdin = sys.stdout, sys.stdin\n        sys.stdout, sys.stdin = StringIO(), StringIO(input)\n        resolve()\n        sys.stdout.seek(0)\n        out = sys.stdout.read()[:-1]\n        sys.stdout, sys.stdin = stdout, stdin\n        self.assertEqual(out, output)\n\n    def test_\u5165\u529b\u4f8b_1(self):\n        input = \"\"\"3\n4\"\"\"\n        output = \"\"\"5\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_2(self):\n        input = \"\"\"19\n100\"\"\"\n        output = \"\"\"261\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_3(self):\n        input = \"\"\"10\n0\"\"\"\n        output = \"\"\"100\"\"\"\n        self.assertIO(input, output)\n\n\ndef resolve():\n    N = int(input())\n    A = int(input())\n\n    print((N*N-A))\n\n\ndef __starting_point():\n    # unittest.main()\n    resolve()\n\n__starting_point()", "passed": true, "time": 0.15, "memory": 14400.0, "status": "done"}, {"code": "#   AtCoder abc074 a\n#   \u30b9\u30c8\u30ec\u30c3\u30c1\u8ab2\u984c\n\n#   \u5165\u529b\nn = int(input())\nwhite = int(input())\n\n#   \u51e6\u7406\nblack = n ** 2 - white\n\n#   \u51fa\u529b\nprint(black)\n", "passed": true, "time": 0.2, "memory": 14256.0, "status": "done"}, {"code": "# \u5165\u529b\nN = int(input())\nA = int(input())\n\n# \u51e6\u7406\nanswer = N ** 2 - A\n\n# \u51fa\u529b\nprint(answer)", "passed": true, "time": 0.15, "memory": 14056.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint( (N ** 2 ) - A)", "passed": true, "time": 0.15, "memory": 14072.0, "status": "done"}, {"code": "n=int(input())\na=int(input())\nans=n**2-a\nprint(ans)", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "N=int(input())\nA=int(input())\nprint(N*N-A)", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint((n ** 2 - a))\n", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(N*N-A)", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "S_list = [int(input()) for i in range(2)]\n\nprint((S_list[0]**2 - S_list[1]))\n", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "# N \u00d7 N \u306e\u30de\u30b9\u76ee\u304c\u3042\u308a\u307e\u3059\u3002\n# \u3053\u306e\u30de\u30b9\u76ee\u306e\u5404\u30de\u30b9\u3092\u767d\u8272\u307e\u305f\u306f\u9ed2\u8272\u306b\u5857\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\n# (\u3059\u3079\u3066\u306e\u30de\u30b9\u3092\u3069\u3061\u3089\u304b\u7247\u65b9\u306e\u8272\u306b\u5857\u308a\u307e\u3059)\u3002\n#\n# \u3061\u3087\u3046\u3069 A\u30de\u30b9\u3092\u767d\u8272\u306b\u5857\u308b\u3068\u304d\u3001\n# \u9ed2\u8272\u306b\u5857\u308b\u3053\u3068\u306b\u306a\u308b\u30de\u30b9\u306f\u3044\u304f\u3064\u3042\u308b\u3067\u3057\u3087\u3046\u304b\u3002\n\n# \u5236\u7d04\n# 1 \u2266 N \u2266 100\n# 0 \u2266 A \u2266 N\u306e2\u4e57\n\n# \u6a19\u6e96\u5165\u529b\u304b\u3089 N, A \u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\nn = int(input())\na = int(input())\n\n# \u8a08\u7b97\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b\nresult = (n * n) - a\n\nprint(result)\n", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N * N - A)", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N * N - A)", "passed": true, "time": 0.17, "memory": 14056.0, "status": "done"}, {"code": "m = int(input())\nn = int(input())\nm = m*m\nprint(m - n)", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "# 074_a\nN=int(input())\nA=int(input())\nsum=N*N\nif (1<=N and N<=100) and (0<=A and A<=N**N):\n    print(sum-A)", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n * n - a)", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "N=int(input())\nA=int(input())\nprint((N*N-A))\n", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "N = int(input())\nM = int(input())\nprint(N**2 - M)", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "# N\u306e\u307e\u3059\u3081\u3068\u767d\u306b\u5857\u3063\u305f\u30de\u30b9\u76eeA\u3092\u6574\u6570\u3067\u5165\u529b\nN = int(input())\nA = int(input())\n# N*N\u30de\u30b9\u304b\u3089A\u30de\u30b9\u5857\u3063\u305f\u3092\u4f59\u308a\u3092\u51fa\u529b\nprint(N**2 - A)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "#!/usr/bin/env python3\n\ndef main():\n    n = int(input())\n    a = int(input())\n    print((n * n - a))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "n=int(input())\na=int(input())\nprint((n*n-a))\n", "passed": true, "time": 0.15, "memory": 14252.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nprint(a*a-b)", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(max(N*N-A,0))", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "# 074a\n\nN = int(input())\nA = int(input())\n\nBlack_area = N ** 2 - A\nprint(Black_area)\n", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\n# N\u00d7N\u306e\u30de\u30b9\u76ee\u304c\u3042\u308a\u307e\u3059\nN *= N\n\n# A\u30de\u30b9\u3092\u767d\u8272\u306b\u5857\u308b\u3068\u304d\u3001\u9ed2\u8272\u306b\u5857\u308b\u3053\u3068\u306b\u306a\u308b\u30de\u30b9\u306f\u3044\u304f\u3064\u3042\u308b\u304b\u51fa\u529b\nB = N - A\nprint(B)", "passed": true, "time": 0.16, "memory": 14192.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N**2 - A)", "passed": true, "time": 0.15, "memory": 14188.0, "status": "done"}, {"code": "N=int(input())\nA=int(input())\nprint(N**2-A)", "passed": true, "time": 0.15, "memory": 14188.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nprint((a*a - b))\n", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "# A - Bichrome Cells\n# https://atcoder.jp/contests/abc074/tasks/abc074_a\n\nN = int(input())\nA = int(input())\n\ni = N * N\nresult = i - A\n\nprint(result)\n", "passed": true, "time": 0.22, "memory": 14088.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nprint(n**2 - a)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N ** 2 - A)", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint( n*n - a )", "passed": true, "time": 0.15, "memory": 14192.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N ** 2 - A)", "passed": true, "time": 0.24, "memory": 14076.0, "status": "done"}, {"code": "a=int(input())\nb=int(input())\nprint(a**2-b)", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nprint(n*n - a)", "passed": true, "time": 0.18, "memory": 14228.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\nprint((a * a - b))\n", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n*n - a)", "passed": true, "time": 0.14, "memory": 14052.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nanswer = n ** 2 - a\nprint(answer)", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "# \u5165\u529b\nN = int(input())\nA = int(input())\n\n# \u51fa\u529b\nprint((N ** 2 - A))\n", "passed": true, "time": 0.14, "memory": 14124.0, "status": "done"}, {"code": "# \u30de\u30b9\u306e\u7dcf\u6570\u3068\u767d\u8272\u306e\u30de\u30b9\u6570\u3092\u53d6\u5f97\nN = int(input())\nA = int(input())\nTotal = N ** 2\n\n# \u9ed2\u8272\u306b\u5857\u308b\u30de\u30b9\u6570\u3092\u8a08\u7b97\u3057\u3066\u51fa\u529b\nBlack = Total - A\nprint(Black)\n", "passed": true, "time": 0.23, "memory": 14332.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nans = N**2 - A\nprint(ans)", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint((N * N - A))\n", "passed": true, "time": 0.37, "memory": 14324.0, "status": "done"}, {"code": "def get_colored_cells():\n    N = int(input())\n    A = int(input())\n    print(N ** 2 - A)\n\nget_colored_cells()", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\ny = n * n\nx = y - a\n\nprint(x)", "passed": true, "time": 0.23, "memory": 14184.0, "status": "done"}, {"code": "print((int(input()) ** 2) - int(input()))", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "n=int(input())\na=int(input())\nprint(n**2-a)", "passed": true, "time": 0.14, "memory": 14116.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(N*N-A)", "passed": true, "time": 0.23, "memory": 14184.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(N*N - A)", "passed": true, "time": 0.22, "memory": 14132.0, "status": "done"}, {"code": "n=int(input())\na=int(input())\nprint(n**2-a)", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "N, A = (int(input()) for i in range(2))\nprint(N ** 2 - A)", "passed": true, "time": 0.23, "memory": 14244.0, "status": "done"}, {"code": "print(int(input())**2-int(input()))", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n**2-a)", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\nprint(n**2-a)", "passed": true, "time": 0.23, "memory": 14304.0, "status": "done"}, {"code": "#!/usr/bin/env python3\n\ndef main():\n    n = int(input())\n    a = int(input())\n    print((n * n - a))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.23, "memory": 14072.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\nprint(N ** 2 - A)", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "#74\nN=int(input())\nA=int(input())\nprint(N**2-A)", "passed": true, "time": 0.13, "memory": 14088.0, "status": "done"}, {"code": "a = int(input())\nb = int(input())\n\nprint(a ** 2 - b)", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "N=int(input())\nA=int(input())\nprint(N**2-A)", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "N = int(input())\nA = int(input())\n\nprint(N ** 2 - A)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "a,b=[int(input()) for i in range(2)]\n\nprint(a**2-b)", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "n = int(input())\na = int(input())\n\nprint(n * n - a)", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}]