string s="********";s="apple*"+s+s+s;for(int i=stdin;i>=0;--i)write(substr(s+s,i%30,30));