import java.io.InputStreamReader;
import java.io.IOException;
import java.awt.Point;
import java.io.PrintStream;
import java.io.BufferedReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.math.BigInteger;
import java.util.HashSet;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 * @author Maxim Gladkikh 
 */
public class Main {
	public static void main(String[] args) {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		InputReader in = new InputReader(inputStream);
		PrintWriter out = new PrintWriter(outputStream);
		TaskB solver = new TaskB();
		solver.solve(1, in, out);
		out.close();
	}
}

class TaskB {
    public void solve(int testNumber, InputReader in, PrintWriter out) {
        int n = in.nextInt();
        int m = in.nextInt();
        boolean[] b = new boolean[n];
        int[] inds = new int[n];
        int plus = 0;
        int minus = 0;
        int[] guilt = new int[n];
        int[] not = new int[n];
        for (int i = 0; i < n; ++i) {
            String s = in.next();
            int id = Integer.parseInt(s.substring(1)) - 1;
            if (s.charAt(0) == '+') {
                b[i] = true;
                ++plus;
                ++guilt[id];
            } else {
                ++minus;
                ++not[id];
            }
            inds[i] = id;
        }
        HashSet<Integer> guilts = new HashSet<Integer>();
        for (int i = 0; i < n; ++i) {
            int truth = guilt[i] + minus - not[i];
            if (truth == m) {
                guilts.add(i);
            }
        }
        System.err.println(guilts);
        for (int i = 0; i < n; ++i) {
            if (b[i]) {
                if (guilts.contains(inds[i]) && guilts.size() == 1) {
                    out.println("Truth");
                } else if (guilts.contains(inds[i]) && guilts.size() > 1) {
                    out.println("Not defined");
                } else {
                    out.println("Lie");
                }
            } else {
                if (guilts.contains(inds[i]) && guilts.size() == 1) {
                    out.println("Lie");
                } else if (guilts.contains(inds[i]) && guilts.size() > 1) {
                    out.println("Not defined");
                } else {
                    out.println("Truth");
                }
            }
        }
    }
}

class InputReader {
    private StringTokenizer tokenizer;
    private BufferedReader reader;

    public InputReader(InputStream inputStream) {
        reader = new BufferedReader(new InputStreamReader(inputStream));
    }

    public String next() {
        while (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                e.printStackTrace();
                throw new UnknownError();
            }
        }
        return tokenizer.nextToken();
    }

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

    }

