import java.io.IOException;
import java.util.Scanner;

/**
 * Created by IntelliJ IDEA.
 * User: Dmitrii
 * Date: 28.04.12
 * Time: 18:57
 * To change this template use File | Settings | File Templates.
 */
public class SherlockProblem {

    // total amount of prisoners
    private int n;

    // amount of truthtailors
    private int m;

    private int totalAmountOfSuspectKillers;

    private int totalGuiltyVoices;

    private int totalInnocentVoices;

    private int[] guiltyVoicesForEachPerson;

    private int[] innocentVoicesForEachPerson;

    boolean maybeGuilty[];

    private int voices[];

    public SherlockProblem(Scanner scanner) {
        getAmountAndTruthTailors(scanner);
        initMassives();
        fillMassivesWithData(scanner);
    }

    public void getAmountAndTruthTailors(Scanner scanner) {
        String line = scanner.nextLine();
        String[] massive = line.split(" ");
        n = Integer.parseInt(massive[0]);
        m = Integer.parseInt(massive[1]);
    }

    private void initMassives() {
        guiltyVoicesForEachPerson = new int[n + 1];
        innocentVoicesForEachPerson = new int[n + 1];
        voices = new int[n];
        maybeGuilty = new boolean[n + 1];
    }

    private void fillMassivesWithData(Scanner scanner) {
        for (int nI = 0; nI < n; nI++) {
            String line = scanner.nextLine();
            char sign = line.charAt(0);
            if (sign == '+') {
                line = line.substring(1);
                int voiceFor = Integer.parseInt(line);
                guiltyVoicesForEachPerson[voiceFor]++;
                totalGuiltyVoices++;
                voices[nI] = voiceFor;
            } else if (sign == '-') {
                line = line.substring(1);
                int voiceFor = Integer.parseInt(line);
                innocentVoicesForEachPerson[voiceFor]++;
                totalInnocentVoices++;
                voices[nI] = -voiceFor;
            }
        }
    }

    private boolean maybeGuilty(int nI) {
        return guiltyVoicesForEachPerson[nI] + totalInnocentVoices - innocentVoicesForEachPerson[nI] == m;
    }

    public void checkForSuspectKillers() {

        for (int nI = 0; nI <= n; nI++) {
            maybeGuilty[nI] = maybeGuilty(nI);
            if (maybeGuilty[nI]) {
                totalAmountOfSuspectKillers++;
            }
        }
    }

    private void printResult() {
        for (int nI = 0; nI < n; nI++) {
            if (voices[nI] > 0) {
                if (!maybeGuilty[voices[nI]]) System.out.println("Lie");
                else if (totalAmountOfSuspectKillers == 1) System.out.println("Truth");
                else System.out.println("Not defined");
            } else {
                if (!maybeGuilty[-voices[nI]]) System.out.println("Truth");
                else if (totalAmountOfSuspectKillers == 1) System.out.println("Lie");
                else System.out.println("Not defined");
            }
        }
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        SherlockProblem sp = new SherlockProblem(scanner);
        sp.checkForSuspectKillers();
        sp.printResult();
    }

}
