import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.StringTokenizer;

public class B {

	private void solve() throws IOException {
		int n = nextInt();
		int m = nextInt();
		int[] a = new int[n + 1];
		int[] b = new int[n + 1];
		int[] c = new int[n + 1];
		int B = 0;
		int C = 0;
		for (int i = 1; i <= n; i++) {
			String s = nextToken();
			if (s.charAt(0) == '+') {
				a[i] = Integer.parseInt(s.substring(1));
				b[a[i]]++;
				B++;
			} else {
				a[i] = Integer.parseInt(s);
				c[-a[i]]++;
				C++;
			}
		}
		
		boolean[] can = new boolean[n + 1];
		int s = 0;
		for (int i = 1; i <= n; i++) {
			if (b[i] + C - c[i] == m) {
				can[i] = true;
				s++;
			}
		}
		
		if (s == 1) {
			for (int i = 1; i <= n; i++) {
				if (a[i] > 0 && can[a[i]] || a[i] < 0 && !can[-a[i]]) {
					println("Truth");
				} else {
					println("Lie");
				}
			}
			return;
		}
		
		for (int i = 1; i <= n; i++) {
			if (a[i] > 0 && !can[a[i]]) {
				println("Lie");
			} else if (a[i] < 0 && !can[-a[i]]) {
				println("Truth");
			} else {
				println("Not defined");
			}
		}
	}

	private String nextToken() throws IOException {
		while (tokenizer == null || !tokenizer.hasMoreTokens()) {
			tokenizer = new StringTokenizer(reader.readLine());
		}
		return tokenizer.nextToken();
	}

	private int nextInt() throws NumberFormatException, IOException {
		return Integer.parseInt(nextToken());
	}

	private double nextDouble() throws NumberFormatException, IOException {
		return Double.parseDouble(nextToken());
	}

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

	private void print(Object o) {
		writer.print(o);
	}

	private void println(Object o) {
		writer.println(o);
	}

	private void printf(String format, Object... o) {
		writer.printf(format, o);
	}

	public static void main(String[] args) {
		long time = System.currentTimeMillis();
		Locale.setDefault(Locale.US);
		new B().run();
		System.err.printf("%.3f\n", 1e-3 * (System.currentTimeMillis() - time));
	}

	BufferedReader reader;
	StringTokenizer tokenizer;
	PrintWriter writer;

	private void run() {
		try {
			reader = new BufferedReader(new InputStreamReader(System.in));
			writer = new PrintWriter(System.out);
			solve();
			reader.close();
			writer.close();
		} catch (IOException e) {
			e.printStackTrace();
			System.exit(13);
		}
	}
}