using System;
public class Program
{
public static void Main()
//Viết chương trình tính T(n) = 1 * 2 * 3 * .. * n.
int tong = 1;
Console.WriteLine("Nhap vao n: ");
int n = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i<= n; i++)
tong = tong * i;
Console.WriteLine("T(n)= "+tong);
}