#include <bits/stdc++.h>
using namespace std;
int n, m, k, x, ans1, ct, ctt, ans2;
string ans;
int main() {
  cin >> n >> m >> k;
  if (k % 2 == 1)
    ans = "L";
  else
    ans = "R";
  x = (n * m) + (n * m);
  if (k == x) {
    cout << n << " " << m << " " << ans;
    return 0;
  }
  while (ans1 < k) {
    ans1 += (m * 2);
    ++ct;
  }
  if (ans == "L") {
    --ans1;
  }
  while (ans1 > k) {
    ans1 -= 2;
    ++ctt;
  }
  cout << ct << " " << m - ctt << " ";
  cout << ans;
  return 0;
}
