import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;


public class ProblemB {

	private void solve() {
		Scanner in = new Scanner(new BufferedInputStream(System.in));
        PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));
        
        int n = in.nextInt();
        int m = in.nextInt();
        
        int[] answers = new int[n + 1];
        int[] suspected = new int[n + 1];
        int[] notSuspected = new int[n + 1];
        int allSuspected = 0;
        int allNotSuspected = 0;
        
        for (int i = 1; i <= n; i++) {
        	String line = in.next();
        	int k = Integer.valueOf(line.substring(1));
        	if (line.charAt(0) == '+') {
        		answers[i] = k;
        		suspected[k]++;
        		allSuspected++;
        	} else {
        		answers[i] = -k;
        		notSuspected[k]++;
        		allNotSuspected++;
        	}
        }
        
        
        Set<Integer> valid = new HashSet<Integer>();
        for (int k = 1; k <= n; k++) {
        	int truth = suspected[k] + allNotSuspected - notSuspected[k];
        	if (truth == m) {
        		valid.add(k);
        	}
        }
        
        boolean isOne = valid.size() == 1;
        
        for (int k = 1; k <= n; k++) {
        	if (answers[k] > 0) {
        		if (valid.contains(answers[k])) {
        			if (isOne) {
        				out.println("Truth");
        			} else {
        				out.println("Not defined");
        			}
        		} else {
        			out.println("Lie");
        		}
        	} else {
        		if (valid.contains(Math.abs(answers[k]))) {
        			if (isOne) {
        				out.println("Lie");
        			} else {
        				out.println("Not defined");
        			}
        		} else {
        			out.println("Truth");
        		}
        	}
        }
        
        out.flush();
        out.close();
	}
	
	public static void main(String[] args) throws IOException {
		new ProblemB().solve();
	}
}
