#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 100004;
int n, l, r, A[MAX_N], B[MAX_N], SA[MAX_N], SB[MAX_N];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> l >> r;
  for (int i = 1; i <= n; i++) {
    cin >> A[i];
    SA[i] = A[i];
  }
  for (int i = 1; i <= n; i++) {
    cin >> B[i];
    SB[i] = B[i];
  }
  for (int i = 1; i <= n; i++) {
    if ((i < l || i > r) && A[i] != B[i]) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  sort(SA + 1, SA + n + 1);
  sort(SB + 1, SB + n + 1);
  for (int i = 1; i <= n; i++) {
    if (SA[i] != SB[i]) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  sort(A + l, A + r + 1);
  sort(B + l, B + r + 1);
  for (int i = l; i <= r; i++) {
    if (A[i] != B[i]) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  cout << "TRUTH" << endl;
  getchar();
  getchar();
  return 0;
}
