
import java.util.LinkedList;
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();
		LinkedList<Integer>[] ki = new LinkedList[n];
		LinkedList<Integer>[] in = new LinkedList[n];
		for (int i = 0; i < n; i++)
		{
			ki[i] = new LinkedList<Integer>();
			in[i] = new LinkedList<Integer>();
		}
		int k = 0;
		int inn = 0;
		for (int i = 0; i < n; i++)
		{
			String s = scan.next();
			char c = s.charAt(0);
			int x = Integer.parseInt(s.substring(1)) - 1;
			if (c == '-')
			{
				inn++;
				in[x].add(i);
			} else
			{
				k++;
				ki[x].add(i);
			}
		}
		int t = 0;
		int[] ret = new int[n];
		for (int i = 0; i < n; i++)
		{
			int mm = ki[i].size() + inn - in[i].size();
			if (mm == m)
			{
				t++;
				for (int a : ki[i])
					ret[a]++;
				for (int a : in[i])
					ret[a]++;
			}
		}
		for (int i = 0; i < n; i++)
			if (ret[i] == 0)
				System.out.println("Lie");
			else if (ret[i] == n)
				System.out.println("Truth");
			else
				System.out.println("Not defined");
	}

}
