using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace consoleapplication1
{
class Program
{
static void Main(string[] args)
{ string s;
s = Console.ReadLine();
int len = s.Length;
int j = 0;
char[] a = new char[len];
for (int i = len - 1; i >= 0; i--)
{
a[i] = s[j];
j++;
}
int k = 0;
for (int i = 0; i < len; i++)
{
if (a[i] == s[i])
{
k++;
}
}
if (k == len)
{
Console.WriteLine(s + "是回文");
}
else
{
Console.WriteLine(s + "不是回文!");
}
}
}
}