#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin>>s;
int i;
vector<string> str;
string item;
stringstream ss(s);
//str=strtok(s,":");
while(getline(ss,item,':''))
{
cout<<item;
}
// your code goes here
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCXN0cmluZyBzOwoJY2luPj5zOwoJaW50IGk7Cgl2ZWN0b3I8c3RyaW5nPiBzdHI7CglzdHJpbmcgaXRlbTsKCXN0cmluZ3N0cmVhbSBzcyhzKTsKCS8vc3RyPXN0cnRvayhzLCI6Iik7Cgl3aGlsZShnZXRsaW5lKHNzLGl0ZW0sJzonJykpCgl7CgkJY291dDw8aXRlbTsKCX0KCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCXJldHVybiAwOwp9
prog.cpp:12:27: warning: missing terminating ' character
while(getline(ss,item,':''))
^
prog.cpp:12:27: error: missing terminating ' character
while(getline(ss,item,':''))
^~~
prog.cpp: In function ‘int main()’:
prog.cpp:13:2: error: expected ‘)’ before ‘{’ token
{
^
prog.cpp:17:10: error: expected ‘)’ before ‘;’ token
return 0;
^