#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 7;
int i, j, n, m, k, a[N], b[N], c[N];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie();
  cout.tie();
  cin >> n >> m >> k;
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (i = 0; i < n; i++) cin >> b[i];
  for (i = m - 1; i < k; i++) c[a[i]]++, c[b[i]]--;
  for (i = 1; i <= n; i++)
    if (c[i] > 0) return cout << "LIE", 0;
  for (i = 0; i < m - 1; i++)
    if (a[i] != b[i]) return cout << "LIE", 0;
  for (i = k; i < n; i++)
    if (a[i] != b[i]) return cout << "LIE", 0;
  cout << "TRUTH";
  return 0;
}
