Function foo line 21 1000 O(1) line 39 1000 O(1) Total Bound: 2000 Total Complexity: O(1)