#include <bits/stdc++.h>
int main() {
  int n, m, k, col, lane, i = 1, j = 0, l = 1, a, b;
  scanf("%d %d %d", &n, &m, &k);
  if (k > 2 * n * m) {
    do {
      printf("the number of the seat is invalid. Give another one.\n");
      scanf("%d", &k);
    } while (k > 2 * n * m);
  }
  while ((j < n) && (l == 1)) {
    if ((k >= (2 * m * j + 1)) && (k <= 2 * m * (j + 1))) {
      col = j + 1;
      l = 0;
    } else
      j += 1;
  }
  l = 1;
  while ((i <= m) && (l == 1)) {
    a = ((2 * i - 1) + (2 * m * (col - 1)));
    b = ((2 * i - 1) + (2 * m * (col - 1)) + 1);
    if (k == a) {
      lane = i;
      l = 0;
      i += 1;
    }
    if (k == b) {
      lane = i;
      l = 0;
      i += 1;
    } else
      i += 1;
  }
  if (k % 2 == 0)
    printf("%d %d R", col, lane);
  else
    printf("%d %d L", col, lane);
  return 0;
}
