Skip to content
C

Fibonacci Number

Easyjavapythonccppjavascript

Find the N-th Fibonacci number. The sequence starts 0, 1, 1, 2, 3, 5, ... (0-indexed: F(0) = 0, F(1) = 1).

Input Format

A single line containing the integer N.

Output Format

Print F(N).

Input (stdin)

Output

Run your code to see output here...