#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  int p;
  for (int i = 1; i <= n; i++) {
    if (k <= 2 * m * i) {
      p = i;
      cout << p << " ";
      break;
    }
  }
  int a = k - 2 * m * (p - 1);
  if (a % 2 == 0) {
    cout << a / 2 << " ";
  } else {
    cout << (a + 1) / 2 << " ";
  }
  if (k % 2 == 0) {
    cout << "R" << endl;
  } else {
    cout << "L" << endl;
  }
}
