Să se afișeze la ecran a n-a cifră a numărului: 12345678910111213141516...999 (sunt scrise consecutiv toate numerele naturale mai mici decât 1000).