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