using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string num = "0"; for(int i=1;i<=100;i++) { num = num + i.ToString(); } int d = int.Parse(Console.ReadLine()); Console.WriteLine(num.Substring(d, 1)); } } }