#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, x, y;
  cin >> n >> x >> y;
  vector<int> a(n + 1);
  for (int i = 1; i <= n; ++i) a[i] = i;
  int it = log2(n), f = 0, j;
  for (j = 1; j <= it; ++j) {
    for (int i = 1; i <= n; i += 2) {
      if ((a[i] == x && a[i + 1] == y) || (a[i] == y && a[i + 1] == x)) {
        f = 1;
        break;
      }
      if (a[i] != x && a[i] != y) {
        a[i] = INT_MAX;
      } else {
        a[i + 1] = INT_MAX;
      }
    }
    if (f == 1) break;
    sort(a.begin(), a.end());
    n -= (n / 2);
  }
  if (j == it)
    cout << "Final!" << '\n';
  else
    cout << j << '\n';
}
