Module Module1

    Sub Main()
        Dim input As String = Console.ReadLine()
        'Dim input As String = "575"
        If (input.Substring(0, 1).Equals(input.Substring(2, 1))) Then
            Console.WriteLine("yes")
        Else 
      		Console.WriteLine("no")
        End If
    End Sub
End Module