#!usr/bin/python #coding=utf-8 dd={'.doc':'Word','.xls':'Excel','.ppt':'PowerPoint'} t=raw_input() print dd[t[-4:]]