
import javax.xml.stream.events.StartDocument;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created with IntelliJ IDEA.
 * User: achugr
 * Date: 09.05.12
 * Time: 15:18
 * To change this template use File | Settings | File Templates.
 */
public class Holmes {

    private static int truthSuspectsNumber;
    private static int suspectsNumber;
    private static boolean[] sign;
    private static int[] protectors;
    private static int[] prosecutors;
    private static int protectorsNumber;
    private static boolean[] offenders;
    private static int counter = 0;


    private static void readInput() {
        Scanner scanner = new Scanner(System.in);
        suspectsNumber = scanner.nextInt();
        truthSuspectsNumber = scanner.nextInt();
        scanner.nextLine();
        offenders = new boolean[suspectsNumber];
        prosecutors = new int[suspectsNumber];
        protectors = new int[suspectsNumber];
        sign = new boolean[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()) {
                if (m.group(1).equals("+")) {
                    sign[i] = true;
                    prosecutors[Integer.valueOf(m.group(2)) - 1]++;
                } else {
                    protectorsNumber++;
                    protectors[Integer.valueOf(m.group(2)) - 1]++;
                }
            }
        }
    }

    private static void fillOffendersList() {
        for (int i = 0; i < suspectsNumber; i++) {
            if (prosecutors[i] + protectorsNumber - protectors[i] == truthSuspectsNumber) {
                offenders[i] = true;
                counter++;
            }
        }
    }

    private static void writeOutput() {
        for (int i = 0; i < suspectsNumber; i++) {
            if (sign[i]) {
                if (offenders[i] && counter > 1) {
                    System.out.println("Lie");
                } else if(counter==1){
                    System.out.println("Truth");
                } else {
                    System.out.println("Not defined");
                }
            } else {
                if (offenders[i] && counter==1) {
                    System.out.println("Truth");
                } else {
                    System.out.println("Not defined");
                }
            }

        }

    }

    public static void main(String[] args) {
        readInput();
        fillOffendersList();
        writeOutput();
    }
}
