#include #define RAN(v)v.begin(),v.end() #define pb push_back #define lb lower_bound #define ub upper_bound using namespace std; template inline void upd1(T1&a,const T2&b){ if(a>b)a=b; } template inline void upd2(T1&a,const T2&b){ if(a inline bool equ(const T&a,const T&b){ return!memcmp(&a,&b,sizeof a); } typedef long long ll; ll gcd(ll a,ll b){ return b?gcd(b,a%b):a; } struct ano{ operator ll(){ ll x=0,y=0,c=getchar(); while(c<48) y=c==45,c=getchar(); while(c>47) x=x*10+c-48,c=getchar(); return y?-x:x; } }buf; int w[1000],c[1024]; char t[11]; int sol(){ int n=buf,m=buf,l=buf; fill_n(w,n,0); fill_n(c,1<=l)++s; return s; } int main(){ int t=buf; for(int i=1;i<=t;++i) printf("Case #%d: %d\n",i,sol()); }