#include <bits/stdc++.h>
using namespace std;
long long a[100020], b[100020];
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  long long n, l, r;
  cin >> n >> l >> r;
  for (long long i = 0; i < n; i++) cin >> a[i];
  for (long long i = 0; i < n; i++) cin >> b[i];
  l--, r--;
  sort(a + l, a + r + 1);
  sort(b + l, b + r + 1);
  for (long long i = 0; i < n; i++) {
    if (a[i] != b[i]) return cout << "LIE", 0;
  }
  cout << "TRUTH";
}
