Sum 6
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Calculate the sum of the first n numbers in the sequence: 1, 2, 3, 5, 8, 13, 21, ...
Input
A natural number n, where 1 ≤ n ≤ 89.
Output
A single number representing the sum of the first n numbers in the sequence.
Examples
Input #1
Answer #1
Submissions 784
Acceptance rate 34%