print$_ x$N for reverse 10-($N=<>)..9