#include <bits/stdc++.h>
using namespace std;
vector<int> v, u;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, a, b;
  cin >> n >> a >> b;
  for (int i = 1; i <= n; i++) {
    u.push_back(i);
  }
  int c = 0;
  while (1) {
    c++;
    v.clear();
    for (int j = 0; j < u.size() - 1; j += 2) {
      if ((u[j] == a && u[j + 1] == b) || (u[j] == b && u[j + 1] == a)) {
        if (u.size() == 2) {
          cout << "Final!";
          return 0;
        } else {
          cout << c;
          return 0;
        }
      } else if (u[j] == a || u[j] == b)
        v.push_back(u[j]);
      else if (u[j + 1] == a || u[j + 1] == b)
        v.push_back(u[j + 1]);
      else
        v.push_back(u[j]);
    }
    u.clear();
    for (int i = 0; i < v.size(); i++) u.push_back(v[i]);
  }
}
