#include <bits/stdc++.h>
using namespace std;
inline void boost() {
  ios_base::sync_with_stdio(0);
  cin.tie(0), cout.tie(0);
}
long long k, cur = 0;
int n, m;
int main() {
  cin >> n >> m >> k;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cur += 2;
      if (cur > k) {
        cout << i << " " << j << " L";
        return 0;
      } else if (cur == k) {
        cout << i << " " << j << " R";
        return 0;
      }
    }
  }
}
