#include<bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
ll n, t, i = 1;
cin >> t;
while(t--)
{
cin >> n;
ll p = __builtin_popcountll(n);
if(p % 2 == 0)
cout << "Case " << i++ << ": " << "even" << "\n";
else if(p%2 == 1)
cout << "Case " << i++ << ": " << "odd" << "\n";
}
return 0;
}
#define ll long long int
using namespace std;
int main()
{
ll n, t, i = 1;
cin >> t;
while(t--)
{
cin >> n;
ll p = __builtin_popcountll(n);
if(p % 2 == 0)
cout << "Case " << i++ << ": " << "even" << "\n";
else if(p%2 == 1)
cout << "Case " << i++ << ": " << "odd" << "\n";
}
return 0;
}
Comments
Post a Comment