import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        final BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        final String firstLine = bufferedReader.readLine();
        final int space = firstLine.indexOf(' ');
        final int n = Integer.parseInt(firstLine.substring(0, space));
        final int m = Integer.parseInt(firstLine.substring(space + 1));
        int[] statement = new int[n];
        int allOpr = 0;
        int[] opr = new int[n];
        int[] obv = new int[n];
        for (int i = 0; i < n; i++) {
            final String line = bufferedReader.readLine();
            final int value = Integer.parseInt(line.substring(1));
            final boolean isObv = line.startsWith("+");
            statement[i] = isObv ? value : -value;
            if (isObv) {
                obv[value - 1]++;
            } else {
                opr[value - 1]++;
                allOpr++;
            }
        }

        boolean one = false;
        for (int i = 0; i < n; i++) {
            if (obv[i] + allOpr - opr[i] == m) {
                if (one) {
                    one = false;
                    break;
                }
                one = true;
            }
        }

        for (int i = 0; i < n; i++) {
            int j = statement[i];
            if (j > 0) {
                j = j - 1;
                if (obv[j] + allOpr - opr[j] == m) {
                    if (one) {
                        System.out.println("Truth");
                    } else {
                        System.out.println("Not defined");
                    }
                } else {
                    System.out.println("Lie");
                }
            } else {
                j = -j - 1;
                if (obv[j] + allOpr - opr[j] == m) {
                    if (one) {
                        System.out.println("Lie");
                    } else {
                        System.out.println("Not defined");
                    }
                } else {
                    System.out.println("Truth");
                }
            }
        }
    }
}
