#include <string>
#include <iostream>
int main() {
std::string in, out;
std::cin >> in;
for (size_t i = 0; i < in.size()-1; ++i) {
if (in[i] == '\\' and in[i+1] == 'n') {
out += '\n';
i++;
} else {
out += in[i];
}
}
std::cout << out;
return 0;
}
I2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7CiAgc3RkOjpzdHJpbmcgaW4sIG91dDsKICBzdGQ6OmNpbiA+PiBpbjsKICBmb3IgKHNpemVfdCBpID0gMDsgaSA8IGluLnNpemUoKS0xOyArK2kpIHsKICAgIGlmIChpbltpXSA9PSAnXFwnIGFuZCBpbltpKzFdID09ICduJykgewogICAgICBvdXQgKz0gJ1xuJzsKICAgICAgaSsrOwogICAgfSBlbHNlIHsKICAgICAgb3V0ICs9IGluW2ldOwogICAgfQogIH0KICBzdGQ6OmNvdXQgPDwgb3V0OwogIHJldHVybiAwOwp9