#include <bits/stdc++.h>
using namespace std;
long long n, a, cnt, m, ans, sum, mn = 1e9, mx = 1e9, b = 2;
string s, s1;
map<string, int> mp;
long long used[2000];
int main() {
  ios_base::sync_with_stdio(NULL);
  cin.tie(NULL);
  cout.tie(NULL);
  vector<int> v;
  cin >> n >> m >> a;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cnt++;
      if (cnt == a) {
        cout << i << " " << j << " "
             << "L";
        return 0;
      }
      cnt++;
      if (cnt == a) {
        cout << i << " " << j << " "
             << "R";
        return 0;
      }
    }
  }
}
