// Fibonacci benchmark - recursive implementation
fn fib(n: Int): Int = {
    if n <= 1 then n
    else fib(n - 1) + fib(n - 2)
}

fn main(): Unit = {
    let result = fib(35)
    Console.print("fib(35) = " + toString(result))
}
