#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 5;
int arr[MAX], brr[MAX];
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  for (int i = 1; i <= n; ++i) {
    cin >> arr[i];
  }
  sort(arr + l, arr + r + 1);
  for (int i = 1; i <= n; ++i) {
    cin >> brr[i];
  }
  sort(brr + l, brr + r + 1);
  for (int i = 1; i <= n; ++i) {
    if (arr[i] != brr[i]) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  cout << "TRUTH" << endl;
  return 0;
}
