using System;
public class Program
{
static int UocLeMax(int n)
if(n%2==1)
return n;
else
return UocLeMax(n/2);
return UocLeMax(n);
}
public static void Main()
int n;
Console.Write("Nhap vao so nguyen n =");
n=int.Parse(Console.ReadLine());
Console.WriteLine("Uoc le lon nhat cua so {0} la : {1}",n,UocLeMax(n));