#include<iostream>
#include<string>
using namespace std;
int main()
{
for(int i=0;i<2;i++)
{
string city,state;
getline(cin,city,',');
getline(cin,state);
cout<<"city:"<<city<<" state:"<<state<<endl;
}
return 0;
}
#include<iostream>
#include<string>
using namespace std;
int main()
{
for(int i=0;i<2;i++)
{
string city,state;
getline(cin,city,',');
getline(cin,state);
cout<<"city:"<<city<<" state:"<<state<<endl;
}
return 0;
}