import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.StreamTokenizer;
import java.util.ArrayList;

public class Main {
    
    private static int n,m;
    
    private static boolean[] is;
    private static int[] answer;
    
    public static void main(String[] args) throws Exception {
        String[] ss = inB.readLine().split(" ");
        n = Integer.parseInt(ss[0]);
        m = Integer.parseInt(ss[1]);
        
        is = new boolean[n];
        answer = new int[n];
        
        int[][] mas = new int[n][2];
        
        for(int i = 0; i<n; i++) {
            String s = inB.readLine();
            is[i] = s.startsWith("+");
            answer[i] = Integer.parseInt(s.substring(1, s.length()));
            
            mas[--answer[i]][is[i]?1:0]++;
        }
        
        boolean[] poss = new boolean[n];
        
        int sum = mas[0][1];
        for(int i = 1; i<n; i++) {
            sum += mas[i][0];
        }
        
        int count = 0;
        for(int i = 1;; i++) {
            if(sum == m) {
                poss[i-1] = true; 
                count++;
            }
            if(i >=n)break;
            sum -= mas[i-1][1];
            sum += mas[i-1][0];
            sum -= mas[i][0];
            sum += mas[i][1];
        }
        
        for(int i = 0; i<n; i++) {
            if(is[i]) {
                if(poss[answer[i]]) {
                    out.println(count == 1 ? "Truth" : "Not defined");
                } else {
                    out.println("Lie");
                }
            } else {
                if(poss[answer[i]]) {
                    out.println(count == 1 ? "Lie" : "Not defined");
                } else {
                    out.println("Truth");
                }
            }
        }
        
        out.flush();
    }
    
    /////////////////////////////////////////////////////////////////
    // IO
    /////////////////////////////////////////////////////////////////
    private static StreamTokenizer in;
    private static PrintWriter out;
    private static BufferedReader inB;
    
    private static boolean FILE=false;
    
    private static int nextInt() throws Exception{
        in.nextToken();
        return (int)in.nval;
    }
    
    private static String nextString() throws Exception{
        in.nextToken();
        return in.sval;
    }
    
    static{
        try {
            out = new PrintWriter(false ? (new FileOutputStream("out.txt")) : System.out);
            inB = new BufferedReader(new InputStreamReader(FILE ? new FileInputStream("lvl3.txt") : System.in));
        } catch(Exception e) {e.printStackTrace();}
        in = new StreamTokenizer(inB);
    }
    /////////////////////////////////////////////////////////////////
    
    /////////////////////////////////////////////////////////////////
    // pre - written
    /////////////////////////////////////////////////////////////////
    private static void println(Object o) throws Exception {
        out.println(o);
        out.flush();
    }
    private static void exit(Object o) throws Exception {
        println(o);
        exit();
    }
    private static void exit() {
        System.exit(0);
    }
    private static final int  INF = Integer.MAX_VALUE;
    private static final int MINF = Integer.MIN_VALUE;
    //////////////////////////////////////////////////////////////////
}
