Write a function fibonacci to compute the nth Fibonacci number.
The Fibonacci sequence is defined as follows:
[ F(0) = 0, \quad F(1) = 1 ]
For n ≥ 2:
[ F(n) = F(n-1) + F(n-2) ]
Input: 5
Output: 5
Input: 10
Output: 55
0 ≤ n ≤ 30- The input is a single integer.