nth number

Problem Name:
nth number
Site:Spoj
Links:
Tags:
Problem setters: