#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 9;
int arr[maxn], ar[maxn];
int main() {
  int a, b, c, d, e, f, g, h;
  while (cin >> a) {
    cin >> e >> f;
    for (int i = 1; i <= a; i++) {
      cin >> arr[i];
    }
    for (int i = 1; i <= a; i++) {
      cin >> ar[i];
    }
    g = 1;
    for (int i = 1; i < e; i++) {
      if (arr[i] != ar[i]) {
        g = 0;
        break;
      }
    }
    for (int i = f + 1; i <= a; i++) {
      if (arr[i] != ar[i]) {
        g = 0;
        break;
      }
    }
    map<int, int> ma1, ma2;
    for (int i = e; i <= f; i++) {
      ma1[arr[i]]++;
      ma2[ar[i]]++;
    }
    if (ma1 != ma2) g = 0;
    if (!g) {
      cout << "LIE" << endl;
    } else {
      cout << "TRUTH" << endl;
    }
  }
  return 0;
}
