output_description: If N is a palindromic number, print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
attempt: a = input().split()
  ast = int(a[0])
  aen = int(a[1])
  bst = int(a[2])
  ben = int(a[3])
  if ast > ben or bst > aen:
      print("0")
  elif ast < bst and aen < ben:
      print(aen - bst)
  elif ast < bst and aen > ben:
      print(ben - bst)
  elif bst < ast and ben < aen:
      print(ben - ast)
  elif bst < ast and ben > aen:
      print(aen - ast)
  elif ast == bst and aen < ben:
      print(aen - ast)
  elif ast == bst and aen > ben:
      print(ben - ast)
  elif ast < bst and aen == ben:
      print(ben - bst)
  elif ast > bst and aen == ben:
      print(aen - ast)
  elif ast == bst and aen == ben:
      print(aen - ast)
  else:
      print("0")
  
problem_description: Statement
  
  You are given a three-digit positive integer N.  
  Determine whether N is a _palindromic number_.  
  Here, a palindromic number is an integer that reads the same backward as
  forward in decimal notation.
samples: [{"input": "575", "output": "Yes\n    \n\nN=575 is also 575 when read backward, so it is a palindromic number. You\nshould print `Yes`.\n\n* * *"}, {"input": "123", "output": "No\n    \n\nN=123 becomes 321 when read backward, so it is not a palindromic number. You\nshould print `No`.\n\n* * *"}, {"input": "812", "output": "No"}]