public static void Main()
var type = Console.ReadLine();
int first = int.Parse(Console.ReadLine());
int second = int.Parse(Console.ReadLine());
int max = GetMax(first, second);
char first = char.Parse(Console.ReadLine());
char second = char.Parse(Console.ReadLine());
char max = GetMax3(first, second);
string first = Console.ReadLine();
string second = Console.ReadLine();
string max = GetMax2(first, second);
static int GetMax(int first, int second)
static string GetMax2(string first, string second)
if (first.CompareTo(second) >= 0)
static char GetMax3(char first, char second)