#include <iostream>
#include <string>
int main()
{
std::string a, b;
std::getline(std::cin, a);
for(std::string::size_type i = 0; i < a.size(); ++i)
{
if(a[i] != 'R' && a[i] != 'r')
{
b += a[i];
}
}
std::cout << b << std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKaW50IG1haW4oKQp7CiAgICBzdGQ6OnN0cmluZyBhLCBiOwogICAgc3RkOjpnZXRsaW5lKHN0ZDo6Y2luLCBhKTsKICAgIGZvcihzdGQ6OnN0cmluZzo6c2l6ZV90eXBlIGkgPSAwOyBpIDwgYS5zaXplKCk7ICsraSkKICAgIHsKICAgICAgICBpZihhW2ldICE9ICdSJyAmJiBhW2ldICE9ICdyJykKICAgICAgICB7CiAgICAgICAgICAgIGIgKz0gYVtpXTsKICAgICAgICB9CiAgICB9CiAgICBzdGQ6OmNvdXQgPDwgYiA8PCBzdGQ6OmVuZGw7Cn0=