Count the number of distinct ways to reach the top of n stairs
Calculate the nth Fibonacci number using dynamic programming