import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author irina orlova
* Date: 09.05.12 - 19:32
*/


public class Suspected {

    private int truthSuspectsNumber;
    private int suspectsNumber;
    private int protectorsNumber;

    private int[] certify;
    private boolean[] sign;
    private int[] defenders;
    private int[] accusers;
    private boolean[] criminals;
    private int criminalsNum = 0;
    private static final String PLUS = "+";
    private static final String TRUTH = "Truth";
    private static final String LIE = "Lie";
    private static final String NOT_DEFINED = "Not defined";



    private void input() {
        Scanner scanner = new Scanner(System.in);
        suspectsNumber = scanner.nextInt();
        truthSuspectsNumber = scanner.nextInt();
        scanner.nextLine();
        criminals = new boolean[suspectsNumber];
        accusers = new int[suspectsNumber];
        defenders = new int[suspectsNumber];
        sign = new boolean[suspectsNumber];
        certify = new int[suspectsNumber];

        Pattern pattern = Pattern.compile("(\\+|\\-)([\\d]+)");
        for (int i = 0; i < suspectsNumber; i++) {
            String penance = scanner.nextLine();
            Matcher m = pattern.matcher(penance);
            if (m.matches()) {
                certify[i] = Integer.valueOf(m.group(2)) - 1;
                if (PLUS.equals(m.group(1))) {
                    sign[i] = true;
                    accusers[certify[i]]++;
                } else {
                    defenders[certify[i]]++;
                    protectorsNumber++;
                }
            }
        }
    }

    private void detectOffenders() {
        for (int i = 0; i < suspectsNumber; i++) {
            if (accusers[i] + protectorsNumber - defenders[i] == truthSuspectsNumber) {
                criminals[i] = true;
                criminalsNum++;
            }
        }
    }

    private void output() {
        for (int i = 0; i < suspectsNumber; i++) {
            if (sign[i]) {
                if (criminals[certify[i]]) {
                    if (criminalsNum == 1) {
                        System.out.println(TRUTH);
                    } else {
                        System.out.println(NOT_DEFINED);
                    }
                } else {
                    System.out.println(LIE);
                }
            } else {
                if (criminals[certify[i]]) {
                    if (criminalsNum < 2) {
                        System.out.println(LIE);
                    } else {
                        System.out.println(NOT_DEFINED);
                    }
                } else {
                    System.out.println(TRUTH);
                }
            }

        }

    }

    public static void main(String[] args) {
        Suspected suspected = new Suspected();
        suspected.input();
        suspected.detectOffenders();
        suspected.output();
    }
}