#include <iostream>
using namespace std;
unsigned long fibo ( int x)
{
if (x <= 1)
return x;
return fibo (x-2) + fibo(x-1);
}
int main()
{
int n;
cout << "n= "; cin >> n;
cout << " al " << n << "-lea termen al sirului Fibonaci este " << fibo(n);
return 0;
}