#include <bits/stdc++.h>
int main() {
  int n, a, b;
  scanf("%d %d %d", &n, &a, &b);
  int level = 0;
  while (a != b) {
    a = (a >> 1) + (a & 1);
    b = (b >> 1) + (b & 1);
    level++;
    n >>= 1;
  }
  if (n > 1)
    printf("%d\n", level);
  else
    printf("Final!\n");
  return 0;
}
