#include<stdio.h>

int main()

{
    int i,num,n,count;
    scanf("%d",&n);

      for(i=1;i<=n;i++)

    {
        int num;
        scanf("%d",&num);
        count=0;
        while(num!=0){

            if(num%2==1)
                count++;
                num/=2;
        }
        if(count%2==1)
            printf("Case %d: odd\n",i);
        else
            printf("Case %d: even\n",i);


    }
    return 0;
}