import java.util.*;
public class D {
    public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	String[] line = sc.nextLine().split(" ");
	int n = Integer.parseInt(line[0]);
	int m = Integer.parseInt(line[1]);
	int[] guesses = new int[n+1];
	boolean[] poss = new boolean[n+1];
	for (int i = 1; i <= n; i++){
	    int guess = Integer.parseInt(sc.nextLine());
	    guesses[i] = guess;
	}
	int numPoss = 0;
	for (int p = 1; p <= n; p++){
	    int numTrue = 0;
	    for (int a = 1; a <= n && numTrue <= m; a++){
		if (guesses[a] == p){
		    numTrue++;
		} else if (guesses[a] < 0 && guesses[a] != -p) {
		    numTrue++;
		}
	    }
	    if (numTrue == m) {
		poss[p] = true;
		numPoss++;
	    }
	}
	String truthString;
	for (int i = 1; i <= n; i++){
	    if (guesses[i] > 0 && poss[Math.abs(guesses[i])]) {
		if (numPoss > 1) {
		    System.out.println("Not defined");
		} else {
		    System.out.println("Truth");
		}
	    } else if (guesses[i] < 0) {
		if (!poss[Math.abs(guesses[i])]) {
		    System.out.println("Truth");
		} else if (numPoss > 1) {
		    System.out.println("Not defined");
		}
	    } else {
		System.out.println("Lie");
	    }
	}
    }
}