Leetcode Monotonic Stack Python Code For Fibonacci