class Program { static void Main(string[] args) { int num = int.Parse(Console.ReadLine()!); Console.WriteLine(num.ToString("N0")); } }