#include <bits/stdc++.h>
using namespace std;
int a[10001];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, m, k;
  cin >> n >> m >> k;
  long long int x1 = 1, x2 = 1;
  int p = k;
  if (k % 2 == 0) {
    k -= 1;
  }
  int x = 1, y = 1, res = 0;
  for (int j = 1; j <= m; j++) {
    for (int i = 1; i <= n; i++) {
      a[i] = x;
      if (a[i] == k) {
        cout << i << " " << j << " ";
        p % 2 == 0 ? cout << "R" : cout << "L";
        return 0;
      }
      x += m * 2;
    }
    x = y + 2 * j;
  }
  return 0;
}
