using System;
public class Program
{
public static void Main()
Console.WriteLine("2 eded daxil edin;");
double A, B, a, b;
a = Convert.ToDouble(Console.ReadLine());
b = Convert.ToDouble(Console.ReadLine());
A = a * a;
B = b * b;
double max = 0;
if( A < B) {
max = B;
Console.WriteLine(B);
}
else {
max =A;
Console.WriteLine(A);