OJ-Problems-Source/HDOJ/5882.cpp

18 lines
225 B
C++
Raw Permalink Normal View History

2016-09-18 09:07:35 +08:00
#include <cstdio>
using namespace std;
int main()
{
int T, n;
scanf("%d", &T);
while(T--)
{
scanf("%d", &n);
if(n&1)printf("Balanced\n");
else printf("Bad\n");
}
return 0;
}