#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1000000007;
const int MAX = 100005;
vector<int> v;
vector<int> x;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, a, b;
  cin >> n >> a >> b;
  int m = 1;
  for (int i = 0;; i++) {
    if (m == n) {
      m = i;
      break;
    }
    m *= 2;
  }
  if (a > b) swap(a, b);
  for (int i = 1; i <= n; i++) v.push_back(i);
  for (int r = 1; r < m; r++) {
    for (int i = 0; i < n; i += 2) {
      if (v[i] == a and v[i + 1] == b) {
        cout << r << endl;
        return 0;
      }
      if (v[i] == a or v[i + 1] == a) {
        x.push_back(a);
      } else if (v[i] == b or v[i + 1] == b) {
        x.push_back(b);
      } else
        x.push_back(v[i]);
    }
    v.clear();
    v = x;
    x.clear();
  }
  cout << "Final!" << endl;
  return 0;
}
