import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.HashSet;
import java.util.Set;
import java.util.StringTokenizer;

public class ProblemD {
	public static void main(String[] args) {
		InputReader in = new InputReader();
		PrintWriter out = new PrintWriter(System.out);

		new ProblemD().solve(in, out);

		out.close();
	}

	public void solve(InputReader in, PrintWriter out) {
		int n = in.nextInt();
		int m = in.nextInt();

		int[] a = new int[n];

		int[] blame = new int[n];
		int[] justify = new int[n];

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

			if (s.charAt(0) == '+') {
				a[i] = Integer.parseInt(s.substring(1));

				blame[a[i] - 1]++;
			} else {
				a[i] = -Integer.parseInt(s.substring(1));

				justify[-a[i] - 1]++;

				totalJustifiers++;
			}
		}

		Set<Integer> suspects = new HashSet<Integer>();
		for (int i = 0; i < n; i++) {
			if (blame[i] + totalJustifiers - justify[i] == m) {
				suspects.add(i + 1);
			}
		}

		for (int i = 0; i < n; i++) {
			if (a[i] > 0) {

				if (suspects.contains(a[i])) {

					if (suspects.size() == 1) {
						out.println("Truth");
					} else if (suspects.size() == 0) {
						out.println("Lie");
					} else {
						out.println("Not defined");
					}
				} else {
					out.println("Lie");
				}

			} else {

				if (suspects.contains(-a[i])) {
					if (suspects.size() == 1) {
						out.println("Lie");
					} else if (suspects.size() == 0) {
						out.println("Truth");
					} else {
						out.println("Not defined");
					}
				} else {
					out.println("Truth");
				}
			}
		}
	}

	static class InputReader {
		public BufferedReader br;
		public StringTokenizer st;

		public InputReader() {
			br = new BufferedReader(new InputStreamReader(System.in));
		}

		public String next() {
			while (st == null || !st.hasMoreTokens()) {
				try {
					st = new StringTokenizer(br.readLine());
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			}
			return st.nextToken();
		}

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

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

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

		String nextLine() {
			String str = "";
			try {
				str = br.readLine();
			} catch (IOException e) {
				e.printStackTrace();
			}
			return str;
		}
	}
}
