mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
18 lines
225 B
C++
18 lines
225 B
C++
|
#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;
|
||
|
}
|