#include <bits/stdc++.h>
using namespace std;
vector<bool> v;
int n, a, b;
int ans;
int log2(int n) { return log(1.0 * n) / log(2.0); }
void reduce() {
  ans++;
  vector<bool> vv;
  for (int i = 0; i < v.size(); i += 2) {
    if (v[i] && v[i + 1]) return;
    if (v[i] == true || v[i + 1] == true)
      vv.push_back(true);
    else
      vv.push_back(false);
  }
  v = vv;
  reduce();
}
int main() {
  cin >> n >> a >> b;
  v.assign(n, 0);
  a--;
  b--;
  v[a] = v[b] = 1;
  ans = 0;
  reduce();
  if (ans == log2(n))
    cout << "Final!" << endl;
  else
    cout << ans << endl;
  return 0;
}
