using System;
public class Program
{
public static void Main()
int term = Convert.ToInt32(Console.ReadLine());
}