/*
LANG: JAVA
PROB: friday
*/


import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.StringTokenizer;

public class Main {
	
	public static void main(String args[]) throws IOException {
		Scanner in = new Scanner(System.in);
		
		StringTokenizer st = new StringTokenizer(in.nextLine());
		int n = Integer.parseInt(st.nextToken());
		int m = Integer.parseInt(st.nextToken());
		
		int[] imp = new int[n];
		int[] g = new int[n+1];
		
		for (int i = 0; i < n; i++) {
			int tmp = in.nextInt();
			imp[i] = tmp;
			
			if (tmp < 0) {
				m--;
				g[-tmp]--;
			}else
				g[tmp]++;
		}
		
		ArrayList<Integer> guess = new ArrayList<Integer>();
		for (int i = 1; i < n+1; i++) {
			if (g[i] == m) {
				guess.add(i);
			}
		}
		
		if (guess.size() == 0) {
			for (int i = 0; i < n; i++) {
				System.out.println("Not defined");
			}
		}else if(guess.size() == 1) {
			int tmp = guess.remove(guess.size()-1);

			for (int i: imp) {
				if (i == tmp || (i < 0 && i < i + tmp)) {
					System.out.println("True");
				}else{
					System.out.println("Lie");
				}
			}
 		}else{
 			for (int i = 0; i < guess.size(); i++) {
 				guess.set(i, guess.get(i)*(-1));
 			}
 			
 			for (int tmp: imp) {
					if (guess.contains(tmp))
						System.out.println("Not defined");
					else {
						if ( tmp < 0 )
							System.out.println("True");
						else
							System.out.println("Lie");
					}
 			}
 		}
		
		
	}

}