#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  int a[n + 1];
  int b[n + 1];
  for (int i = 1; i <= n; i++) cin >> a[i];
  for (int i = 1; i <= n; i++) cin >> b[i];
  bool f = 1;
  for (int i = 1; i < l; i++) f &= (a[i] == b[i]);
  for (int i = r + 1; i <= n; i++) f &= (a[i] == b[i]);
  multiset<int> s1, s2;
  for (int i = l; i <= r; i++) s1.insert(a[i]);
  for (int i = l; i <= r; i++) s2.insert(b[i]);
  f &= (s1 == s2);
  if (f)
    cout << "TRUTH";
  else
    cout << "LIE";
}
