해설 (A+B)*(A-B) 를 계산한 값을 출력하시면 됩니다.
test = gets.chomp.split(" ") a = test[0].to_i b = test[1].to_i p (a+b)*(a-b)