/**
* Recursively calculate fibonacci
*/
function fib(nat n) nat {
if (n < 2) { return n; }
return fib(n - 2) + fib(n - 1);
}
print(fib(23) as str);