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