using System;
namespace _023_编程题
{
class Program
{
static void Main(string[] args)
{
int n = Convert.ToInt32(Console.ReadLine());
int tempn = n;
int number = 0;
// 3617
// 7 1 6 3
// 7*10 10
//71*10 710
//7160
//7163
while (tempn != 0)//从低位到高位
{
int i = tempn % 10;
number *= 10;
number += i;
//i=7 number=7
//i=1 70 71
tempn /= 10;
}
if (number == n)
{
Console.WriteLine("yes");
}
else
{
Console.WriteLine("no");
}
}
}
}