Problems
568 - Again Palindrome?? (I)
SUBMIT PROBLEM

Again Palindrome?? (I)

Time Limit: 1 sec

 

The Problem

A palindrome is a word which spelling is same when we spell it from forward or backward. For example “madam” is a palindrome word. Because when we read it from forward or backward it is “madam”. Another example of palindrome word is “aaaaaa”. In this problem you will get a string which may be palindrome or not.

 

If the given string is a palindrome then print “Yes”. If it is not a palindrome then you can try to make it a palindrome by rearranging its characters without adding or deleting any character in original string. If you really can make a palindrome then print “Yes” otherwise “No”.

 

The Input

The input file may contain several lines of input. Each line of the input contains a string S. The length of the string is less than 10^3. Input is terminated by EOF.

 

The Output

The output for the each input line will contain “Case #X: Y”. Here X is the case number (starting from 1) and Y is “Yes” or “No” depending on the string described in problem statement.

 

Sample Input

amdegsmaaggadedegdemmaa

 

Sample Output

Case #1: Yes

 

 

Problem Setter: Milton Deb