Mathematica solution

Mathematica uses square brackets `[]` instead of normal parenthesis for function invocation.

Hope you don't mind.