a = int(input())
c = int(input())

b_square = c**2 - a**2
print(b_square)

 

🐾Recent posts