#include using namespace std; using ll = long long; int main() { int n; cin >> n; int v = 0, t = 1; while (v == 0) { if (t & 1) cout << "D" << endl; else cout << "R" << endl; cin >> v; t++; } return 0; }