//package CF;

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

public class A {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int n = sc.nextInt(), m = sc.nextInt();
		int[] a = new int[n+1];
		int[] acc = new int[n+1];
		int[] inn = new int[n+1];
		int totAcc = 0;
		for (int i = 1; i <= n; i++) {
			String s = sc.next();
			int tmp = Integer.parseInt(s.substring(1));
			if (s.charAt(0) == '+') {
				a[i] = tmp;
				acc[tmp]++;
				totAcc++;
			} else {
				inn[tmp]++;
				a[i] = -tmp;
			}
		}
		TreeSet<Integer> set = new TreeSet<>();
		for (int i = 1; i < a.length; i++) {
			int liers = inn[i] + totAcc - acc[i];
			if (liers == n - m)
				set.add(i);
		}
		for (int i = 1; i < a.length; i++) {
			if (set.size() == 0)
				out.println("Not defined");
			else if (a[i] > 0) {
				if (set.contains(a[i]))
					out.println(set.size() == 1 ? "Truth" : "Not defined");
				else
					out.println("Lie");
			} else {
				if (set.contains(-a[i]))
					out.println(set.size() == 1 ? "Lie" : "Not defined");
				else
					out.println("Truth");
			}
		}
		out.flush();
		out.close();
	}

	static class Scanner {
		StringTokenizer st;
		BufferedReader br;

		public Scanner(InputStream s) {
			br = new BufferedReader(new InputStreamReader(s));
		}

		public Scanner(FileReader fileReader) {
			br = new BufferedReader(fileReader);
		}

		public String next() throws IOException {
			while (st == null || !st.hasMoreTokens())
				st = new StringTokenizer(br.readLine());
			return st.nextToken();
		}

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

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

		public String nextLine() throws IOException {
			return br.readLine();
		}

		public boolean ready() throws IOException {
			return br.ready();
		}
	}
}