#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[123456], b[123456];
  int n, l, r;
  scanf("%d %d %d", &n, &l, &r);
  for (int i = 0; i < n; i++) {
    scanf("%d", a + i);
  }
  for (int i = 0; i < n; i++) {
    scanf("%d", b + i);
  }
  set<int> setA(a, a + n);
  set<int> setB(b, b + n);
  bool isLied = false;
  for (int i = 0; i < n; i++) {
    if (setA.count(a[i]) != setB.count(a[i])) {
      isLied = true;
      printf("LIE");
      break;
    }
  }
  if (!isLied) {
    bool againLied = false;
    for (int i = 0; i < (l - 1); i++) {
      if (a[i] != b[i]) {
        againLied = true;
        printf("LIE");
        break;
      }
    }
    if (!againLied) {
      for (int i = r; i < n; i++) {
        if (a[i] != b[i]) {
          againLied = true;
          printf("LIE");
          break;
        }
      }
      if (!againLied) {
        printf("TRUTH");
      }
    }
  }
}
