View Code of Problem 2182

#include<cstdio>
#include<iostream>
using namespace std;
int main()
{
	int m;
	while(scanf("%d",&m)>0,m)
	{
		if(m==0) break;
		if(m<=2) puts("Alice");
		else puts("Bob");
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 2182