using System; using System.Collections.Generic; using System.Linq; class Program { static void Main() { var inp = Console.ReadLine(); if (inp.Length == 1) { Console.WriteLine(inp.PadLeft(3, '0')); } else if (inp.Length == 2) { Console.WriteLine(inp.PadLeft(3, '0')); } else { Console.WriteLine(inp); } } }