#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 1;
int a[maxn];
int b[maxn];
int cnta[maxn];
int cntb[maxn];
int main() {
  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 = 1; i < l; ++i)
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  for (int i = r + 1; i <= n; ++i)
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  cout << "TRUTH";
}
