#include <bits/stdc++.h>
using namespace std;
int arr[100005];
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  int a[n + 5], b[n + 5];
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if (i >= l && i <= r) arr[a[i]]++;
  }
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    if (i >= l && i <= r) {
      if (arr[x])
        arr[x]--;
      else {
        cout << "LIE" << endl;
        return 0;
      }
    } else if (a[i] != x) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  cout << "TRUTH" << endl;
}
