input: def get_nth_fibonacci(n: int) -> int:
      """ Calculate the nth Fibonacci number. The Fibonacci sequence is defined as follows:
      fibonacci(0) = 0
      fibonacci(1) = 1
      fibonacci(n) = fibonacci(n-1) + fibonacci(n-2) for n > 1.
      >>> get_nth_fibonacci(6)
      8
      >>> get_nth_fibonacci(0)
      0
      >>> get_nth_fibonacci(1)
      1
      >>> get_nth_fibonacci(2)
      1
      """
      if n == 0:
          return 0
      elif n == 1:
          return 1
      else:
          return get_nth_fibonacci(n - 1) + get_nth_fibonacci(n - 2)
output:     if n == 0:
          return 0
      elif n == 1:
          return 1
      else:
          return get_nth_fibonacci(n - 1) + get_nth_fibonacci(n - 2)