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