#include <bits/stdc++.h>
using namespace std;
using LL = int64_t;
const int maxn = 1e5 + 5;
const int mod = 1e9 + 7;
const int INF = 0x3f3f3f3f;
const LL LLINF = 1e14;
const double pi = acos(-1.0);
vector<int> temp1, temp2;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int n, a, b;
  cin >> n >> a >> b;
  int ans = 0;
  while (a != b) {
    n /= 2;
    ans++;
    if (a % 2 == 1)
      a = a / 2 + 1;
    else
      a = a / 2;
    if (b % 2 == 1)
      b = b / 2 + 1;
    else
      b = b / 2;
  }
  if (n == 1)
    cout << "Final!\n";
  else
    cout << ans << endl;
  return 0;
}
