
import java.util.Scanner;
public class Main {


    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
		// P4
		/*
		StringBuilder a = new StringBuilder(scan.next());
		StringBuilder b = new StringBuilder(reverse(a.toString()));
		a.append(b);
		System.out.println(a.toString());
		*/
		// P5
		int numSuspects = scan.nextInt();
		int numTellingTruth = scan.nextInt();
		int numSavingOthers = 0;
		String[] suspects = new String[numSuspects];
		
		for (int i = 0; i < numSuspects; i++) {
			suspects[i] = scan.next();
			if(suspects[i].charAt(0) == '-') 
				numSavingOthers++;
		}
		if(numSuspects == 1 && numTellingTruth == 1) {
			System.out.println("Truth");
		} else if(numTellingTruth == 0) {
			for (int i = 0; i < numSuspects; i++) {
				System.out.println("Lie");
			}
		} else if(numSuspects == numTellingTruth) {
			for (int i = 0; i < numSuspects; i++) {
				System.out.println("Truth");
			}
		} else if(numSavingOthers >= numTellingTruth) {
			for (int i = 0; i < numSuspects; i++) {
				if(suspects[i].charAt(0) == '+') {
					System.out.println("Lie");
				} else if(suspects[i].charAt(0) == '-') {
					System.out.println("Not defined");
				}
			}
		} else if(numSavingOthers < numTellingTruth) {
			for (int i = 0; i < numSuspects; i++) {
				if(suspects[i].charAt(0) == '+') {
					System.out.println("Lie");
				} else if(suspects[i].charAt(0) == '-') {
					System.out.println("Not defined");
				}
			}
		}
		
    }
	
	public static String reverse ( String s ) {
        int length = s.length(), last = length - 1;
        char[] chars = s.toCharArray();
        for ( int i = 0; i < length/2; i++ ) {
            char c = chars[i];
            chars[i] = chars[last - i];
            chars[last - i] = c;
        }
        return new String(chars);
    }

}
