import java.util.Scanner;

public class Suspects {

    public static void main(final String[] args) {
        final Scanner scanner = new Scanner(System.in);

        int n = scanner.nextInt();
        int m = scanner.nextInt();

        scanner.nextLine();
        int[] statements = new int[n];
        final int[][] a = new int[n][2];
        for (int i = 0; i < n; i++) {
            String tmp = scanner.nextLine();
            int statement = Integer.parseInt(tmp.substring(1));
            if ('-' == tmp.charAt(0)) {
                statement = -statement;
            }
            statements[i] = statement;

            if (statement > 0) {
                a[Math.abs(statement) - 1][0]++;
            } else {
                a[Math.abs(statement) - 1][1]++;
            }
        }

        final boolean[] criminal = new boolean[n];
        int criminals = 0;
        for (int i = 0; i < n; i++) {
            if (a[i][0] == m) {
                criminal[i] = true;
                criminals++;
            }
        }

        //for (int s: statements) {
        //    System.out.println(s);
        //}
        //for (boolean b: criminal) {
        //    System.out.println(b);
        //}


        final String positive = (criminals == m) ? "Truth" : "Not defined";
        final String negative = (criminals == m) ? "Lie" : "Not defined";

        for (int i = 0; i < n; i++) {
            if (statements[i] > 0) {
                if (criminal[i]) {
                    System.out.println(positive);
                } else {
                    System.out.println("Lie");
                }
            } else {
                if (criminal[i]) {
                    System.out.println(negative);
                } else {
                    System.out.println("Not defined");
                }
            }
        }
    }
}
