#include <bits/stdc++.h>
using namespace std;
int a[100005], b[100005];
int p[100005];
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL);
  int n, l, r;
  cin >> n >> l >> r;
  for (int i = 1; i <= n; i++) cin >> a[i];
  for (int i = 1; i <= n; i++) cin >> b[i];
  for (int i = l; i <= r; i++) p[a[i]]++;
  bool ok = 1;
  for (int i = l; i <= r; i++) {
    if (p[b[i]] == 0) {
      ok = 0;
      break;
    }
    p[b[i]]--;
  }
  for (int i = 1; i < l; i++)
    if (a[i] != b[i]) ok = 0;
  for (int i = r + 1; i <= n; i++)
    if (a[i] != b[i]) ok = 0;
  if (ok)
    printf("TRUTH\n");
  else
    printf("LIE\n");
}
