input: Write a function to calculate the 10th Fibonacci number using a recursive approach. If the input is less than 1, print "Incorrect input". The function should return the Fibonacci number for the given position.
  def fibonacci(n): 
      if n<1: 
          print("Incorrect input") 
      elif n==1: 
          return 0
      elif n==2: 
          return 1
      else: 
          return fibonacci(n-1)+fibonacci(n-2) 
    
  # Driver Program 
      print(fibonacci(10))
output: def fibonacci(n): 
      if n<1: 
          print("Incorrect input") 
      elif n==1: 
          return 0
      elif n==2: 
          return 1
      else: 
          return fibonacci(n-1)+fibonacci(n-2)