import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.StreamTokenizer;

public class B110 {

    static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
    static PrintWriter out = new PrintWriter(System.out);
    
    static int nextInt() throws Exception {
        in.nextToken();
        return (int)in.nval;
    }
    
    static String nextString() throws Exception {
        in.nextToken();
        return in.sval;
    }
    
    public static void main(String[] args) throws Exception {
        in.ordinaryChars('0', '9');
        in.wordChars('0', '9');
        in.ordinaryChar('+');
        in.wordChars('+', '+');
        in.ordinaryChar('-');
        in.wordChars('-', '-');
        
        int n = Integer.valueOf(nextString()), m = Integer.valueOf(nextString());
        int[] a = new int[n+1];
        for (int i = 1; i <= n; i++) {
            String s = nextString();
            if (s.charAt(0) == '+') s = s.substring(1);
            a[i] = Integer.valueOf(s);
        }
        
        int nb = 0, nc = 0;
        int[] blame = new int[n+1];
        int[] cover = new int[n+1];
        for (int i = 1; i <= n; i++) {
            if (a[i] < 0) {
                cover[-a[i]]++;
                nc++;
            }
            else {
                blame[a[i]]++;
                nb++;
            }
        }
        
        boolean[] canBe = new boolean[n+1];
        int cnt = 0;
        for (int i = 1; i <= n; i++) {
            int cur = blame[i] + (nc - cover[i]);
            canBe[i] = cur == m;
            if (canBe[i]) cnt++;
        }
        
        for (int i = 1; i <= n; i++) {
            if (a[i] < 0) {
                if (!canBe[-a[i]]) out.println("Truth");
                else if (cnt == 1) out.println("Lie"); 
                else out.println("Not defined");
            }
            else {
                if (!canBe[a[i]]) out.println("Lie");
                else if (cnt == 1) out.println("Truth"); 
                else out.println("Not defined");
            }
        }
        
        out.flush();
    }

}
