Function foo line 137 max(B, 0) O(n) Total Bound: max(B, 0) Total Complexity: O(n)