#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 100000;
int a[5 + MAX_N], b[5 + MAX_N];
int main() {
  int N, l, r;
  scanf("%d%d%d", &N, &l, &r);
  for (int i = 1; i <= N; ++i) scanf("%d", &a[i]);
  for (int i = 1; i <= N; ++i) scanf("%d", &b[i]);
  sort(a + l, a + r + 1);
  sort(b + l, b + r + 1);
  for (int i = 1; i <= N; ++i) {
    if (a[i] != b[i]) {
      printf("LIE");
      return 0;
    }
  }
  printf("TRUTH");
  return 0;
}
