// Author : WangZhikun // Date : 2018.08.04 #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; template void read(T &x){ x = 0;ll f = 1;char ch = getchar(); while(!isdigit(ch)){if(ch == '-')f*=-1;ch = getchar();} while(isdigit(ch)){x = x*10+ch-48;ch = getchar();}x*=f; } int s[100010][26],u,v; char st[100010]; int main(){ int T; cin>>T; for(int TT = 1;TT<=T;TT++){ cout<<"Case #"<0){ cout<