#include <iostream>
using namespace std;
int main()
{
int TC,tc,n;
tc = 1;
cin >> TC;
while(tc<=TC) {
cin >> n;
if(__builtin_popcount(n)%2==0)
cout << "Case " << tc << ": " << "even" << endl;
else
cout << "Case " << tc << ": " << "odd" << endl;
tc++;
}
return 0;
}
using namespace std;
int main()
{
int TC,tc,n;
tc = 1;
cin >> TC;
while(tc<=TC) {
cin >> n;
if(__builtin_popcount(n)%2==0)
cout << "Case " << tc << ": " << "even" << endl;
else
cout << "Case " << tc << ": " << "odd" << endl;
tc++;
}
return 0;
}
ahmed shuvo969
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন