
import java.util.Scanner;

public class D {

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int m = scan.nextInt();
		int[] ki = new int[n];
		int[] in = new int[n];
		int k = 0;
		int inn = 0;
		char[] sign = new char[n];
		int[] to = new int[n];
		for (int i = 0; i < n; i++)
		{
			String s = scan.next();
			char c = s.charAt(0);
			int x = Integer.parseInt(s.substring(1)) - 1;
			to[i] = x;
			if (c == '-')
			{
				sign[i] = '-';
				inn++;
				in[x]++;
			} else
			{
				sign[i] = '+';
				k++;
				ki[x]++;
			}
		}
		int t = 0;
		int[] ret = new int[n];
		boolean[] v = new boolean[n];
		for (int i = 0; i < n; i++)
		{
			int mm = ki[i] + inn - in[i];
			if (mm == m)
			{
				t++;
				v[i] = true;
			}
		}

		for (int i = 0; i < n; i++)
		if(sign[i] == '+')
		{
			if (v[to[i]])
			{
				if(t == 1)
					System.out.println("Truth");
				else
					System.out.println("Not defined");
			}else
				System.out.println("Lie");
		}else{
			if(v[to[i]])
			{
				if(t < 2)
					System.out.println("Lie");
				else
					System.out.println("Not defined");
			}
			else
				System.out.println("Truth");
		}
	}

}
