#include <bits/stdc++.h>
using namespace std;
int n, l, r;
int Niz1[100001], Niz2[100001], hes[100001], time1[100001], time2[100001];
int main() {
  scanf("%d %d %d", &n, &l, &r);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &Niz1[i]);
    hes[i] = Niz1[i];
  }
  for (int i = 1; i <= n; i++) {
    scanf("%d", &Niz2[i]);
  }
  for (int i = 1; i <= n; i++) {
    if (i < l) {
      if (hes[i] != Niz2[i]) {
        printf("LIE");
        return 0;
      }
    } else {
      if (i > r) {
        if (hes[i] != Niz2[i]) {
          printf("LIE");
          return 0;
        }
      } else {
        time2[Niz2[i]]++;
      }
    }
  }
  for (int i = l; i <= r; i++) {
    time1[Niz1[i]]++;
  }
  for (int i = l; i <= r; i++) {
    if (time1[Niz1[i]] != time2[Niz1[i]]) {
      printf("LIE");
      return 0;
    }
  }
  printf("TRUTH");
  return 0;
}
