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?
19
100
n = int(input())
a = int(input())
print (n * n - a)