using System; public class Program { public static void Main() { var value = long.Parse(Console.ReadLine()); Console.Write(string.Format("{0:#,0}", value)); return; } }