import java.util.Scanner;


public class B110d1 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = sc.nextInt();
		int[] a = new int[n+1];
		
		int[] t = new int[n+1];
		int[] f = new int[n+1];
		int tc = 0;
		int fc = 0;
		
		sc.nextLine();
		
		for (int i = 1; i <= n; i++) {
			String str = sc.nextLine().trim();
			a[i] = Integer.parseInt(str.substring(1));
			if(str.charAt(0) == '-')
				a[i] = -a[i];
			if(a[i] > 0) {
				t[a[i]]++;
				tc++;
			} else {
				f[-a[i]]++;
				fc++;
			}
		}
		
		boolean[] s = new boolean[n+1];
		int cs = 0;
		for (int i = 1; i <= n; i++) {
			int ct = t[i];
			int ft = tc - t[i];
			ct += fc - f[i];
			ft += f[i];
			if(ct == m) {
				s[i] = true;
				cs++;
			}
		}
		
		for (int i = 1; i <= n; i++) {
			if(a[i] > 0) {
				if(s[a[i]]) {
					if(cs == 1) {
						System.out.println("Truth");
					} else {
						System.out.println("Not defined");
					}
				} else {
					System.out.println("Lie");
				}
			} else {
				if(!s[-a[i]]) {
					System.out.println("Truth");
				} else {
					if(cs == 1) {
						System.out.println("Lie");
					} else {
						System.out.println("Not defined");
					}
				}
			}
			
			
		}
		
	}

}
