#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int i, j, k, l, n, m;
  cin >> n >> l >> k;
  long long int a[n + 1], b[n + 1];
  for (i = 1; i <= n; i++) cin >> a[i];
  for (i = 1; i <= n; i++) cin >> b[i];
  for (i = 1; i < l; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  }
  for (i = k + 1; i <= n; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  }
  cout << "TRUTH";
  return 0;
}
