#include <bits/stdc++.h>
int main() {
  int n, l, r;
  scanf("%d%d%d", &n, &l, &r);
  int* a = (int*)malloc(n * sizeof(int));
  int* b = (int*)malloc(n * sizeof(int));
  int* c = (int*)malloc(n * sizeof(int));
  int i;
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    c[i] = 0;
  }
  for (i = 0; i < n; i++) {
    scanf("%d", &b[i]);
  }
  int res = 1;
  for (i = 0; i < l - 1; i++) {
    if (a[i] != b[i]) {
      res = 0;
    }
  }
  for (i = r; i < n; i++) {
    if (a[i] != b[i]) {
      res = 0;
    }
  }
  for (i = l - 1; i < r; i++) {
    c[a[i] - 1]++;
    c[b[i] - 1]--;
  }
  for (i = 0; i < n; i++) {
    if (c[i] != 0) {
      res = 0;
    }
  }
  if (res == 0) {
    printf("LIE");
  } else {
    printf("TRUTH");
  }
  return 0;
}
