apple lines by

l='apple'+'*'*25\x0d
for i in range(input()+1):print l[-i%30:]+l[:-i%30]\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top