Function foo line 17 max(0, (A + -1000)) O(n) Total Bound: max(0, (A + -1000)) Total Complexity: O(n)