using System;
public class Program
{
public static int maxNum(int n1, n2, n3)
if (n1 > n2 && n1 > n3) return n1;
if (n2 > n1 && n2 > n1) return n2;
if (n3 > n1 && n1 > n2) return n3;
}
public static void Main()
int n1 = 3;
int n2 = 4;
int n3 = 1;
Console.WriteLine(maxNum(n1,n2,n3));