#include <iostream>
#include <string>
int main() {
std::string s;
std::getline(std::cin, s);
if (s.size() >= 3 && s.substr(0, 3) == "abc")
s.replace(0, 3, "www");
else
s += "zzz";
std::cout << s;
}
#include <iostream>
#include <string>
int main() {
std::string s;
std::getline(std::cin, s);
if (s.size() >= 3 && s.substr(0, 3) == "abc")
s.replace(0, 3, "www");
else
s += "zzz";
std::cout << s;
}