EasyRating 900
Smallest Square for Two
Two identical a × b rectangles must fit side by side inside a square without overlapping (you may rotate them). Print the smallest area of the square.
Input
Two integers a and b (1 ≤ a, b ≤ 100).
Output
One integer.
Sample 1
Input
3 2
Output
16
Sample 2
Input
4 2
Output
16
Output appears here