#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; for(int i = 0; i < 2 * n; i++){ if(i & 1){ cout << "D" << endl; }else{ cout << "R" << endl; } string str; cin >> str; if(str == "1") return 0; } }