#include <iostream>
#include <string>
using namespace std;
int main() {
string received;
while(getline(cin, received, ','))
{
cout << received << endl;
}
// your code goes here
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkKCXN0cmluZyByZWNlaXZlZDsKCXdoaWxlKGdldGxpbmUoY2luLCByZWNlaXZlZCwgJywnKSkKCXsKCQljb3V0IDw8IHJlY2VpdmVkIDw8IGVuZGw7Cgl9CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglyZXR1cm4gMDsKfQ==