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