speed = int(input("Please enter your speed in km/h here: "))
is_birthday = True

def caught_speeding(speed, is_birthday):
  if is_birthday:
      if speed <= 65:
          return 0
      if speed >= 66 and speed <= 85:
          return 1
      else:
          return 2

  else:
      if speed <= 60:
          return 0
      elif speed >= 61 and speed <= 80:
          return 1
      else:
          return 2

def main():
    print(caught_speeding(speed,is_birthday))

main()



