using System;
public class Program
{
public static void Main()
int x1,x2,x3;
Console.WriteLine("inter one num from two mnzla");
x1=int.Parse(Console.ReadLine());
x2=x1%10;
x3=x1/10;
Console.WriteLine("{0}:العدد الاكبر",Math.Max(Math.Pow(x2,x3),Math.Pow(x3,x2)));
}