#include<stdio.h>longfibonacci(int n){// Write your code hereif(1== n)return1;if(2== n)return1;//a b templong a =1;long b =1;long temp = a + b;for(int i =2; i < n; i++){
temp = a + b;
a = b;
b = temp;}return temp;}intmain(){int n;scanf("%d",&n);printf("F(%d) = %ld\n", n,fibonacci(n));return0;}