public static void Main()
Console.Write("Введіть a: ");
string aAsString = Console.ReadLine();
int a = Convert.ToInt32(aAsString);
Console.Write("Введіть b: ");
int b = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Сума " + a + " і " + b + " дорівнює " + S );