
# The classic factorial function.

function factorial(n){
  if n == 0 then
    return 1;
  else
    return n * factorial(n-1);
}

print factorial(5);
return 0;
