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