def adder(n):
    print(123)
    def add(num):
        return n + num
    return add

test = adder(10)

print(test(100))
print(test(500))
