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

public class B {

	BufferedReader in;
	StringTokenizer st;
	PrintWriter out;

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

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

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

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

	void solve() throws Exception {
		int n = nextInt(), m = nextInt();
		n++;
		int powin[] = new int[n];
		int powout[] = new int[n];
		int map[] = new int[n];
		int powops[] = new int[n];
		powops[0] = 0;
		for (int i = 1; i < n; i++) {
			String s = next();
			int x = Integer.parseInt(s.substring(1));
			char ch = s.charAt(0);
			if (ch=='-')
				x*=-1;
			map[i] = x;
			if (x > 0)
				powin[x]++;
			else
				powout[-x]++;
		}
		
		for(int i=1;i<n;i++)
			powops[i]=powops[i-1]+powout[i];
		
		boolean canbe[] = new boolean[n];
		int cc = 0;
		for(int i=1;i<n;i++)
		{
			if (powin[i]+powops[n-1]-powout[i]==m)
				{
				canbe[i] = true;
				cc++;
				}
		}
		
		//out.println(cc+" "+Arrays.toString(canbe));
		//out.println(Arrays.toString(powops));
		//out.println(Arrays.toString(powin));
		
		for(int i=1;i<n;i++)
		{
			if (cc==1)
				if (map[i]>0)
					if (canbe[map[i]])
						out.println("Truth");
					else
						out.println("Lie");
				else
					if (!canbe[-map[i]])
						out.println("Truth");
					else
						out.println("Lie");
			if (cc>1)
			if (map[i]>0)
				if (canbe[map[i]])
					out.println("Not defined");
				else
					out.println("Lie");
			else
				if (canbe[-map[i]])
					out.println("Not defined");
				else
					out.println("Truth");
		
		
		}
	}

	void run() {
		try {
			Locale.setDefault(Locale.US);
			in = new BufferedReader(new InputStreamReader((System.in)));
			out = new PrintWriter(System.out);

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

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

	}

}
