import java.util.*; import java.io.*; import java.math.BigInteger; public class Main { public static void main(String args[]) { BigInteger[] a = new BigInteger[400]; a[0] = BigInteger.ONE; a[1] = BigInteger.ONE; for (int i = 2; i < 205; i++) { a[i] = a[i - 2].add(a[i - 1]); } Scanner cin = new Scanner(new BufferedInputStream(System.in)); PrintWriter cout = new PrintWriter(new OutputStreamWriter(System.out), true); int n; while (cin.hasNext()) { n = cin.nextInt(); if(n==0)cout.println(); else cout.println(a[n]); } cin.close(); cout.close(); } }