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