class Fib { static fib(n) { if (n < 2) return n return fib(n-1) + fib(n-2) } } var result = Fib.fib(35) System.print(result)