Fibonacci
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Fibonacci numbers is a sequence of numbers , defined by the formula:
,
,
Given a value of , find the -th Fibonacci number.
Input
One nonnegative integer , representing the Fibonacci number to be printed.
Output
Print the -th Fibonacci number.
Examples
Input #1
Answer #1
Submissions 26K
Acceptance rate 39%