module main;

import std.stdio : writeln, stdin;
import core.stdc.stdio;

int main(string[] argv)
{
	int n, l, r;
	scanf("%d %d %d", &n, &l, &r);
	l = l - 1;
	r = r - 1;
	int [] arr = new int[n];
	int [] b = new int[n];
	for(int i = 0; i<n; i++)
		scanf("%d", &arr[i]);
	for (int i = 0; i < n; i++)
	    scanf("%d", &b[i]);
	for (int i = 0; i < l; i++) {
	    if (arr[i] != b[i]) {
	        writeln("LIE");
	        return 0;
	    }
	}
	for (int i = r + 1; i < n; i++) {
    	if (arr[i] != b[i]) {
    	        writeln("LIE");
    	        return 0;
    	    }
    }
	writeln("TRUTH");
	return 0;
}