#include <iostream>
using namespace std;

int main() {
	string s;
	while(getline(cin,s,'o'))
	{
		cout << s << endl;
	}
}