#include #include #include int main(void){ int d;scanf("%d",&d); char s[]="12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455"; printf("%s",s[d+1]); }