#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main()
{
	const vector<string> forbidden = {"apple", "broccoli", "cat"};

	string word;
	while(cin >> word)
	{
		bool found = false;

		for(int i = 0; i < forbidden.size(); ++i)
			if(word == forbidden[i])
			{
				found = true;
				break;
			}

		if(found)
			cout << "BLEEP" << endl;
		else
			cout << word << endl;
	}
}