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

public class B {
	public static void main(String[] args) {
		new B().run();
	}

	BufferedReader br;
	StringTokenizer in;
	PrintWriter out;

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

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

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

	public double nextDouble() throws IOException {
		return Double.parseDouble(nextToken());
	}

	public void solve() throws IOException {
		int n = nextInt();
		int m = nextInt();
		int[] g = new int[n];
		int[] b = new int[n];
		int sumb = 0;
		int[] a = new int[n];
		boolean[] fl = new boolean[n];
		for (int i = 0; i < n; i++) {
			String s = nextToken();
			int x = Integer.parseInt(s.substring(1));
			if (s.charAt(0) == '-')
				x = -x;
			if (x > 0) {
				g[x - 1]++;
				fl[i] = true;
			} else {
				b[-x - 1]++;
				sumb++;
			}
			a[i] = Math.abs(x) - 1;
		}

		boolean[] pos = new boolean[n];
		int c = 0;
		for (int i = 0; i < n; i++) {
			int t = g[i] + sumb - b[i];
			if (t == m) {
				c++;
				pos[i] = true;
			}
		}

		for (int i = 0; i < n; i++) {
			if (fl[i]) {
				if ((c == 1) && (pos[a[i]]))
					out.println("Truth");
				if ((!pos[a[i]]))
					out.println("Lie");
				if ((c > 1) && (pos[a[i]]))
					out.println("Not defined");
			} else {
				if (!pos[a[i]])
					out.println("Truth");
				if ((pos[a[i]]) && (c == 1))
					out.println("Lie");
				if ((pos[a[i]]) && (c > 1))
					out.println("Not defined");
			}

		}
	}

	public void run() {
		try {
			br = new BufferedReader(new InputStreamReader(System.in));
			out = new PrintWriter(System.out);
			//br = new BufferedReader(new FileReader("B.in"));
			//out = new PrintWriter("B.out");

			solve();

			out.close();
		} catch (IOException e) {
			e.printStackTrace();
			System.exit(1);
		}
	}
}