import java.util.*;
import java.math.*;

public class Main {
    
    public static void main(String[] args) throws Exception{
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int m = scan.nextInt();
        scan.nextLine();
        int[] record = new int[n + 1];
        int[] positive = new int[n + 1];
        int[] negative = new int[n + 1];
        int positiveCount = 0;
        int negativeCount = 0;
        for (int i = 1; i <= n; i++) {
            String temp = scan.nextLine();
            int val = Integer.parseInt(temp.substring(1));
            if (temp.charAt(0) == '+') {
                positiveCount++;
                positive[val]++;
                record[i] = val;
            }
            else {
                negativeCount++;
                negative[val]++;
                record[i] = -val;
            }
        }
        HashSet<Integer> checker = new HashSet<Integer>(n);
        int[] res = new int[n + 1];
        for (int i = 1; i <= n; i++) {
            if (positive[i] + negativeCount - negative[i] == m) {
                checker.add(i);
            }
        }
        for (int i = 1; i <= n; i++) {
            if (record[i] > 0) {
                if (checker.contains(record[i])) {
                    if (checker.size() > 1) {
                        res[i] = 0;
                    }
                    else {
                        res[i] = 1;
                    }
                }
                else {
                    res[i] = -1;
                }
            }
            else {
                if (checker.contains(-record[i])) {
                    if (checker.size() > 1) {
                        res[i] = 0;
                    }
                    else {
                        res[i] = -1;
                    }
                }
                else {
                    res[i] = 1;
                }
            }
        }
        for (int i = 1; i <= n; i++) {
            switch (res[i]) {
                case 0:
                    System.out.println("Not defined");
                    break;
                case 1:
                    System.out.println("Truth");
                    break;
                case -1:
                    System.out.println("Lie");
                    break;
            }
        }
    }
    
}
