#include <string>
#include <iostream>

using namespace std;

int main()
{
	string str = "youareontheroadtohell";
	string road = "road";
	size_t road_pos = str.find(road);
	if (road_pos == string::npos) 
	{
		cout << "NO";
		return 0;
	}
	else
	{
		string begin = str.substr(0, road_pos);
		string end = str.substr(road_pos + road.size());
		string result = begin + " " + road + " " + end;
		cout << result;
	}
}