#include "iostream"
#include "vector"
#include "string.h"
using namespace std;
int n;
int p[1000];
int main()
{
int n;
cout << "n = ";
cin >> n;
cout << "输入球的位置:" << endl;
int i;
for(i=1; i<=n; i++)
cin >> p[i];
int first = 1;
if(n & 1)
{
p[0] = 0;
first = 0;
}
int result = 0;
for(i=first; i<n; i++)
result ^= (p[i+1] - p[i] - 1); //将两个球之间的空格看作一堆石子
if(result)
cout << "Georgia wins" << endl;
else
cout << "Bob wins" << endl;
return 0;
}