import static java.lang.Math.*;

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

public class pirveli implements Runnable {

	public void run() {
		int n = nextInt() + 1, m = nextInt();
		int not = 0;

		int didnt[] = new int[n];
		int did[] = new int[n];
		int arr[] = new int[n];

		for (int i = 1; i < n; i++) {
			String st = nextLine();
			int a = Integer.parseInt(st.substring(1));
			if (st.charAt(0) == '+') {
				arr[i] = a;
				did[a]++;
			}

			else {
				didnt[a]++;
				arr[i] = -a;
				not++;
			}
		}
		HashSet<Integer> ans = new HashSet<Integer>();
		for (int i = 1; i < n; i++) {
			if (did[i] + not - didnt[i] == m) {
				ans.add(i);
			}
		}
		int sz = ans.size();
		String pr[] = new String[n];
		for (int i = 1; i < n; i++) {
			if (arr[i] < 0) {
				if (!ans.contains(-arr[i])) {
					pr[i] = "Truth";
				} else if (sz > 1) {
					pr[i] = "Not defined";

				} else
					pr[i] = "Lie";
				
			} else {
				if (!ans.contains(arr[i])) {
					pr[i] = "Lie";
				} else if (sz > 1) {
					pr[i] = "Not defined";
				} else
					pr[i] = "Truth";
			}
		}
		
		for(int i = 1; i<n; i++){
			out.println(pr[i]);
		}

		
		// --------------------------------------------------------------------------------------------
		out.close();
		System.exit(0);
	}

	private static boolean fileIOMode = false;
	private static String problemName = "yyy";

	private static BufferedReader in;
	private static PrintWriter out;
	private static StringTokenizer tokenizer;

	public static void main(String[] args) throws Exception {
		if (fileIOMode) {
			in = new BufferedReader(new FileReader(problemName + ".in"));
			out = new PrintWriter(problemName + ".out");
		} else {
			in = new BufferedReader(new InputStreamReader(System.in));
			out = new PrintWriter(System.out);
		}
		tokenizer = new StringTokenizer("");

		new Thread(new pirveli()).start();
	}

	private static String nextLine() {
		try {
			return in.readLine();
		} catch (IOException e) {
			return null;
		}
	}

	private static String nextToken() {
		while (!tokenizer.hasMoreTokens()) {
			tokenizer = new StringTokenizer(nextLine());
		}
		return tokenizer.nextToken();
	}

	private static int nextInt() {
		return Integer.parseInt(nextToken());
	}

	private static long nextLong() {
		return Long.parseLong(nextToken());
	}

	private static double nextDouble() {
		return Double.parseDouble(nextToken());
	}

	private static void print(Object o) {
		if (fileIOMode) {
			System.out.print(o);
		}
		out.print(o);
	}

	private static void println(Object o) {
		if (fileIOMode) {
			System.out.println(o);
		}
		out.println(o);
	}

	private static void printf(String s, Object... o) {
		if (fileIOMode) {
			System.out.printf(s, o);
		}
		out.printf(s, o);
	}
}
