import java.io.*;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: Evgeniy Krasko
 * Date: 28.04.12
 * Time: 21:28
 */
public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String [] ints = br.readLine().split(" ");
       
        int n = Integer.parseInt(ints[0]), m = Integer.parseInt(ints[1]);

        int[] ans = new int[n + 1];
        int[] ptrs = new int[n + 1];

        int flscnt = 0;
        for (int i = 1; i <= n; ++i) {
            String s = br.readLine();
            if (s.startsWith("+")) {
                ans[i] = Integer.parseInt(s.substring(1));
            } else {
                ans[i] = Integer.parseInt(s);
            }
            if (ans[i] > 0) {
                ptrs[ans[i]]++;
            } else {
                ptrs[-ans[i]]--;
                flscnt++;
            }
        }
        Set<Integer> killed = new HashSet<Integer>();

        for (int i = 1; i <= n; ++i) {
            ptrs[i] += flscnt;
            if (ptrs[i] == m) killed.add(i);
        }

        BufferedWriter writer = new BufferedWriter(new PrintWriter(System.out));
        for (int i = 1; i <= n; ++i) {
            if (ans[i] > 0) {
                if (killed.contains(ans[i])) {
                    if (killed.size() == 1) {
                        writer.append("Truth\n");
                    } else {
                        writer.append("Not defined\n");
                    }
                } else {
                    writer.append("Lie\n");
                }
            } else {
                if (killed.contains(-ans[i])) {
                    if (killed.size() == 1) {
                        writer.append("Lie\n");
                    } else {
                        writer.append("Not defined\n");
                    }
                } else {
                    writer.append("Truth\n");
                }
            }
        }
        writer.flush();
    }
}
