import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;


public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] line = r.readLine().split("[ ]+");
        int N = Integer.parseInt(line[0]);
        int M = Integer.parseInt(line[1]);
        
        int[] a = new int[N + 1];
        int[] G = new int[N + 1];
        for(int k = 0; k < N; k++){
            String s = r.readLine();
            if(s.charAt(0) == '+')s = s.substring(1);
            a[k + 1] = Integer.parseInt(s);
            G[Math.abs(a[k + 1])] += a[k + 1] < 0 ? -1 : 1; 
        }
        
        
        int otherT = 0;
        for(int i = 1; i <= N; i++)
            if(a[i] < 0){
//              System.out.println(i);
                otherT++;
            }
        boolean[] v = new boolean[N + 1];
        int s = 0;
//      System.out.println(otherT);
        for(int i = 1; i <= N; i++){
//          System.out.println(G[i]);
            otherT += G[i];
//          System.out.println(otherT);
            if(otherT == M){
                s++;
                v[i] = true;
            }
            
            otherT -= G[i];
        }
        
        String[] ret = new String[N + 1];
        for(int i = 1; i <= N; i++){
            if(!v[Math.abs(a[i])]){
                if(a[i] > 0)ret[i] = "Lie";
                else {
                    ret[i] = "Truth";
                }
            }else{//Motaham.
                if(a[i] > 0){
                    if(s == 1){
                        ret[i] = "Truth";
                    }else{
                        ret[i] = "Not defined";
                    }                   
                }else{
                    if(s == 1){
                        ret[i] = "Lie";
                    }else{
                        ret[i] = "Not defined";
                    }
                }
            }
        }
        for(int i = 1; i <= N; i++){
            out.println(ret[i]);
        }
        out.close();
    }
}
