#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, a, b;
  cin >> n >> a >> b;
  long long int x = 1;
  vector<long long int> v;
  while (x != n + 1) {
    v.push_back(x);
    x++;
  }
  long long int c = 1;
  while (1) {
    for (long long int i = 0; i < n / c; i += 2) {
      if ((v[i] == a && v[i + 1] == b) || (v[i] == b && v[i + 1] == a)) {
        if (c == log2(n)) {
          cout << "Final!" << endl;
          return 0;
        } else {
          cout << c << endl;
          return 0;
        }
      } else {
        if (v[i] == a || v[i + 1] == a) {
          v[i / 2] = a;
        } else if (v[i] == b || v[i + 1] == b) {
          v[i / 2] = b;
        } else {
          v[i / 2] = v[i];
        }
      }
    }
    c++;
  }
  return 0;
}
