Pregunta de entrevista de Tradeweb

Implement a function to multiply two numbers, fn(a, b). Modify the function to accept arguments over multiple calls, fn(a)(b)(c,d)(e,f,g), and return the answer value after n calls.