x=raw_input();print x.rsplit(" ")[-1][:-1].title()+" Pen"if"h"in x else"Pen Pineapple Apple Pen"
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page