#include #include #include #include const int N=1000010; #define mod 1000000007 #define LL long long using namespace std; LL a[N]; int main() { LL t,n,m,i; a[1]=1,a[2]=2; for(i=3; i>t; for(int k=1; k<=t; k++) { scanf("%lld",&n); printf("Case #%d:\n%lld\n",k,a[n]); } return 0; }