
#include <iostream>

using std::cin;
using std::cout;
using std::endl;

namespace
{
  int S_fib (int i)
  {
    switch (i) {
    case 0:
    case 1:
      return 1;

    default:
      return S_fib (i - 1) + S_fib (i - 2);
    }
  }
}

int
main ()
{
  int rc = 0;
  int i, f;

  if (cin >> i >> f) {
    while (i-- > 0) {
      S_fib (f);
    }
  } else {
    cout << __FILE__ << ":" << __LINE__ << ": "
         << "can't read i & f from cin" << endl;
    rc = -1;
  }
  return rc == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}
