Calculates Fibonacci sequence in various languages