#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, m, k;
  cin >> n >> m >> k;
  int cnt = 1;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      if (cnt == k || cnt + 1 == k) {
        cout << i << " " << j << " " << (cnt == k ? 'L' : 'R') << '\n';
        return 0;
      }
      cnt += 2;
    }
    cout << '\n';
  }
  return 0;
}
