import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.util.TreeSet;

public class Solution {
    static class Testimony {
        boolean just;
        int num;

        public Testimony(int Num, boolean Just) {
            num = Num;
            just = Just;
        }
    }

    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);

        StringTokenizer st = new StringTokenizer(in.readLine());
        int n = Integer.parseInt(st.nextToken());
        int m = Integer.parseInt(st.nextToken());
        Testimony[] t = new Testimony[n];
        int[] justifications = new int[n];
        int[] charge = new int[n];

        int allJust = 0;

        for (int i = 0; i < n; i++) {
            String s = in.readLine();

            boolean just = s.charAt(0) == '-';
            int num = Integer.parseInt(s.substring(1)) - 1;

            t[i] = new Testimony(num, just);
            if (just) {
                justifications[num]++;
                allJust++;
            } else
                charge[num]++;
        }

        TreeSet<Integer> susp = new TreeSet<Integer>();
        for (int i = 0; i < n; i++) {
            int truth = charge[i] + (allJust - justifications[i]);

            if (truth == m)
                susp.add(i);
        }

        for (int i = 0; i < n; i++) {
            if (t[i].just) {
                if (!susp.contains(t[i].num))
                    out.println("Truth");
                else {
                    if (susp.size() == 1)
                        out.println("Lie");
                    else
                        out.println("Not defined");
                }
            } else {
                if (!susp.contains(t[i].num))
                    out.println("Lie");
                else {
                    if (susp.size() == 1)
                        out.println("Truth");
                    else
                        out.println("Not defined");
                }
            }
        }

        out.close();
    }
}
