str = raw_input() n=len(str) s=str[(n-3):] s=s.upper() if str.endswith('doc'): print "Word" if str.endswith('xls') : print "Excel" if str.endswith('ppt') : print "PowerPoint"