#include<bits/stdc++.h>
using namespace std;

#define pb              push_back
#define endl            "\n"
#define ll              long long
#define war()           ios::sync_with_stdio(0); cin.tie(0);



#define int ll
int R=0,D=0;
int MOD=9999;

mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());

void solve(int T){
    vector<char>v;
    int ok=0;
    while(ok==0){
        ok=rnd()%MOD;
    }
    for(int i=0; i<ok; i++){
        int z=rnd();
        if(z%2){
            if(rnd()%2){v.pb('R');}
            else{v.pb('D');}
        }
        else{
            if(rnd()%2){v.pb('D');}
            else{v.pb('R');}
        }
    }

    int sz=v.size();
    int temp_R=0, temp_D=0;
    for(int i=0; i<rnd()%100; i++){
        int z=rnd()%sz;
        if(v[z]=='R'){temp_R++;}
        else{temp_D++;}
    }

    if(temp_D==temp_R){D++; R++;}
    else if(temp_D>temp_R){D++;}
    else{R++;}
    
} 



    

int32_t main(){             //DRINK WATER
    war();
    //read();   write();
    /////////////////////////////////////

    /////////////////////////////////////
    int tc=rnd()%MOD;
    for(int T=1; T<=tc; T++){
        solve(T);
    }

    cout<<"D: "<<D<<endl;
    cout<<"R: "<<R<<endl;
return 0;
} 

/*

     /\_/\
    (= ._.)
    / >  \> Mr_Warlock
   /      \

*/  