"""This is a test"""

from __future__ import *

def f(x):
    def g(y):
        return x + y
    return g

print f(2)(4)