#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b;
  vector<int> vec;
  cin >> n >> a >> b;
  for (int i = 1; i <= n; i++) {
    vec.push_back(i);
  }
  for (int j = 1; vec.size() > 2; j++) {
    for (int i = 0; i < vec.size(); i++) {
      if ((vec[i] == a && vec[i + 1] == b) ||
          (vec[i] == b && vec[i + 1] == a)) {
        cout << j << endl;
        return 0;
      }
      if (vec[i] != a && vec[i] != b) {
        vec.erase(vec.begin() + i);
      } else {
        vec.erase(vec.begin() + (i + 1));
      }
    }
  }
  cout << "Final!\n";
  return 0;
}
