c=input() i=len(c)-3 while i>0: if c[i]==".": if c[i+1]=="d":print("Word") elif c[i+1]=="x":print("Excel") else: print("PowerPoint") break i=i-1