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