#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d = 0;
  cin >> a >> b >> c;
  for (int i = 1; i <= a; i++) {
    for (int j = 1; j <= b; j++) {
      d = d + 2;
      if (d == c || d - 1 == c) {
        cout << i << " " << j;
        c % 2 == 0 ? cout << " R" : cout << " L";
        return 0;
      }
    }
  }
  return 0;
}
