Write an algorithm to print 1 to 20