

 Function foo

    line 7 / 12
    2 + max(0, (x - y)) + max(0, (x - y))
    O(n^1)

Total Complexity: O(n^1)
