Write the shortest program that takes one input (n) from STDIN (or equivalent) and outputs a simple incrementing function with one argument (x) that returns x + n but the function must be in a different language. Pretty simple!
This is code-golf, normal rules apply, shortest program wins.
Example: ><> to Python (Ungolfed)
!v"def i(x):"a" return x+"ir!
>l?!;o
Input:
3
Output:
def i(x):
return x+3
EDIT: Anonymous functions and lambda expressions are allowed!
function BUT
that we are supposed to write.. -_- \$\endgroup\$