def test():
    f1 = lambda x:x
    f2 = lambda x,y:(y,x)
    f3 = lambda x,y:x(y)
    print apply(f3, f2('x', f1))

test()
