def x(a):
    def y():
        print(a)
    return y
    
x1 = x(1)
x2 = x(2)
x1()
x2()
