The function given below takes a number "n" as the input and calculates the sum of first "n" natural numbers. Which statement should be inserted in place of "??" to get the required output?
function sum(n)
{if (??)
return 1
else
return (n + sum(n-1))
end}