print from 1 to n by string