s=input() l=len(s) s1=s[l-3:l] if s1=="doc": print("Word") if s1=="xls": print("Excel") if s1=="ppt": print("PowerPoint")