print((lambda x: (x[0]**2 - x[1]**2))(list(map(int, input().split()))))