using System;
public class Program
{
public static void Main()
var testString = "A";
Console.WriteLine(testString.Substring(0, testString.Length >= 2 ? 2 : 1));
}