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

public class B {

    MyScanner in;
    PrintWriter out;

    public static void main(String[] args) throws Exception {
        new B().run();
    }

    public void run() throws Exception {
        in = new MyScanner();
        out = new PrintWriter(System.out);

        solve();

        out.close();
    }

    public void solve() throws Exception {
        int n = in.nextInt();
        int m = in.nextInt();
        
        int[] evidKill = new int[n];
        int[] evidNill = new int[n];
        boolean[] kill = new boolean[n];
        boolean[] maybeKiller = new boolean[n];
        int[] numPoint = new int[n];
        int killAll = 0;
        int nillAll = 0;
        
        for (int i = 0; i < n; i++) {
            String s = in.next();
            boolean killer = s.charAt(0) == '+';
            int num = Integer.parseInt(s.substring(1)) - 1;
            numPoint[i] = num;
            if (killer) {
                kill[i] = true;
                evidKill[num]++;
                killAll++;
            } else {
                kill[i] = false;
                evidNill[num]++;
                nillAll++;
            }
        }
        
        int killers = 0;
        for (int i = 0; i < n; i++) {
            if (evidKill[i] + (nillAll - evidNill[i]) == m) {
                maybeKiller[i] = true;
                killers++;
            }
        }
        
        for (int i = 0; i < n; i++) {
            if (maybeKiller[numPoint[i]]) {
                if (killers == 1) {
                    out.println(kill[i] ? "Truth" : "Lie");
                } else {
                    out.println("Not defined");
                }
            } else {
                out.println(kill[i] ? "Lie" : "Truth");                
            }
        }
    }

    class MyScanner {

        BufferedReader br;
        StringTokenizer st;

        public MyScanner() throws Exception {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String next() throws Exception {
            while ((st == null) || (!st.hasMoreTokens())) {
                String t = br.readLine();
                if (t == null) {
                    return null;
                }
                st = new StringTokenizer(t);
            }
            return st.nextToken();
        }

        int nextInt() throws Exception {
            return Integer.parseInt(next());
        }

        double nextDouble() throws Exception {
            return Double.parseDouble(next());
        }

        boolean nextBoolean() throws Exception {
            return Boolean.parseBoolean(next());
        }

        long nextLong() throws Exception {
            return Long.parseLong(next());
        }
        
    }
}
