style={'.doc':'Word','.xls':'Excel','.ppt':'PowerPoint'} filen=raw_input().strip() n=filen.find('.') print style[filen[n:]]