#include <bits/stdc++.h> using namespace std; int main() { int m; cin>>m; for(int i=0;i<m;i++){ int n=0; cin>>n; cout<<"Case "<<i+1<<": "; cout<<(n%400==0 || (n%4==0 && n%100!=0)?"a leap year":"a normal year")<<endl; } }