https://www.acmicpc.net/problem/2193
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int n=s.nextInt();
long arr[]=new long[n+1];
arr[1]=1;
for(int i=2;i<=n;i++){
arr[i]=arr[i-1]+arr[i-2];
}
System.out.print(arr[n]);
}
}