$\Fib(n):$ $\quad \mathbf{if}\ n = 0\ \mathrm{or}\ n = 1\ \mathbf{then}$ $\quad \quad f = n$ $\quad \mathbf{else}$ $\quad \quad f = \Fib(n - 1) + \Fib(n - 2)$ $\quad \mathbf{return}\ f$