#include <iostream>
using namespace std;
int cs=1,t;
int main(){
ios::sync_with_stdio(0);
cin>>t;
while(t--){
cout<<"Case "<<cs++<<": ";
int n,tmp;
cin>>n;
cin.ignore(3*n/2);
cin>>tmp;
cout<<tmp<<endl;
cin.ignore(3*n/2-1);
}
}
using namespace std;
int cs=1,t;
int main(){
ios::sync_with_stdio(0);
cin>>t;
while(t--){
cout<<"Case "<<cs++<<": ";
int n,tmp;
cin>>n;
cin.ignore(3*n/2);
cin>>tmp;
cout<<tmp<<endl;
cin.ignore(3*n/2-1);
}
}
Comments
Post a Comment