new_contents: #AtCoder Beginner 13 A
  str = raw_input()
  if str == 'A':
      print "1"
  elif str == 'B':
      print "2"
  elif str == 'C':
      print "3"
  elif str == 'D':
      print "4"
  elif str == 'E':
      print "5"
  
subject: Create Beginner 13-A.py