dic={'.doc':'Word','.xls':'Excel','.ppt':'PowerPoint'} key=input() for index in range(len(key)): if key[index]=='.': print (dic[key[index:]]) break