import java.util.*;
import java.io.*;

public class Main implements Runnable {
		
	public void solve() throws IOException {
		int N = nextInt();
                int nTellingTruth = nextInt();
                int[] heDid = new int[N+1];
                int[] notHeDid = new int[N+1];
                
                int totalNotDid = 0;
                int[] a = new int[N];
                for(int i = 0; i < N; i++){
                    String s = nextToken();
                    int num = Integer.parseInt(s.substring(1));
                    if(s.charAt(0) == '-') num = -num;
                    a[i] = num;
                    if(a[i] > 0) heDid[a[i]]++;
                    else{
                        notHeDid[-a[i]]++;
                        totalNotDid++;
                    }
                }
                
                boolean[] canCrime = new boolean[N+1];
                int countCriminals = 0;
                for(int i = 1; i <= N; i++){
                    if(heDid[i] + (totalNotDid - notHeDid[i]) == nTellingTruth){ //he is criminal + (only notHeDid people say he did not do, but the rest are of the option HE MAY HAVE DID(FROM -VE ANSWERS))
                        canCrime[i] = true;
                        countCriminals += 1;
                    }
                }
                
                for(int i = 1; i <= N; i++){
                    int t = a[i-1];
                    if(t > 0){
                        if(canCrime[t] && countCriminals == 1) out.println("Truth");
                        else if(!canCrime[t]) out.println("Lie");
                        else out.println("Not defined");
                    }
                    else{
                        t = -t;
                        if(!canCrime[t]) out.println("Truth");
                        else if(canCrime[t] && countCriminals == 1) out.println("Lie");
                        else out.println("Not defined");
                    }
                }
	}

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	//-----------------------------------------------------------
	public static void main(String[] args) {
		new Main().run();
	}

        public void debug(Object... arr){
            System.out.println(Arrays.deepToString(arr));
        }

        public void print1Int(int[] a){
                for(int i = 0; i < a.length; i++)
                        System.out.print(a[i] + " ");
                System.out.println();
        }
        
        public void print2Int(int[][] a){
                for(int i = 0; i < a.length; i++){
                        for(int j = 0; j < a[0].length; j++){
                                System.out.print(a[i][j] + " ");
                        }
                        System.out.println();
                }
        }
        
	public void run() {
		try {
			in = new BufferedReader(new InputStreamReader(System.in));
                        out = new PrintWriter(System.out);
			tok = null;
			solve();
			in.close();
                        out.close();
		} catch (IOException e) {
			System.exit(0);
		}
	}

	public String nextToken() throws IOException {
		while (tok == null || !tok.hasMoreTokens()) {
			tok = new StringTokenizer(in.readLine());
		}
		return tok.nextToken();
	}

	public int nextInt() throws IOException {
		return Integer.parseInt(nextToken());
	}

	public long nextLong() throws IOException {
		return Long.parseLong(nextToken());
	}

	public double nextDouble() throws IOException {
		return Double.parseDouble(nextToken());
	}
        PrintWriter out;
	BufferedReader in;
	StringTokenizer tok;
}