#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;
}