program palindromic_number
  implicit none
  integer :: n
  read(*,*) n
  if (n/100 .eq. mod(n,10)) then
    write(*,'(a)') "Yes"
  else
    write(*,'(a)') "No"
  end if
end program palindromic_number