#include <bits/stdc++.h>
using namespace std;
int n, l, r;
int a[100005], x;
int main() {
  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", &x);
    if ((i < l || i > r) && (x != a[i])) {
      printf("LIE");
      return 0;
    }
  }
  printf("TRUTH");
  return 0;
}
