import java.io.*;
import java.util.StringTokenizer;

import static java.lang.Integer.parseInt;

/**
 * 156B
 * θ(n) time
 * θ(n) space
 *
 * @author artyom
 */
public class _156B implements Runnable {
    private BufferedReader in;
    private StringTokenizer tok;

    private Object solve() throws IOException {
        int n = nextInt(), m = nextInt(), mi = 0;
        boolean[] s = new boolean[n];
        int[] t = new int[n], ac = new int[n], df = new int[n];
        for (int i = 0; i < n; i++) {
            String st = nextToken();
            t[i] = parseInt(st.substring(1)) - 1;
            if (st.charAt(0) == '+') {
                s[i] = true;
                ac[t[i]]++;
            } else {
                df[t[i]]++;
                mi++;
            }
        }
        int c = 0;
        boolean[] p = new boolean[n];
        for (int i = 0; i < n; i++) {
            if (mi - df[i] == m - ac[i]) {
                p[i] = true;
                c++;
            }
        }
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            if (s[i]) {
                if (p[t[i]]) {
                    sb.append(c == 1 ? "Truth" : "Not defined");
                } else {
                    sb.append("Lie");
                }
            } else {
                if (p[t[i]]) {
                    sb.append(c == 1 ? "Lie" : "Not defined");
                } else {
                    sb.append("Truth");
                }
            }
            if (i < n - 1) {
                sb.append('\n');
            }
        }
        return sb;
    }

    //--------------------------------------------------------------
    public static void main(String[] args) {
        new _156B().run();
    }

    @Override
    public void run() {
        try {
            in = new BufferedReader(new InputStreamReader(System.in));
            tok = null;
            System.out.print(solve());
            in.close();
        } catch (IOException e) {
            System.exit(0);
        }
    }

    private String nextToken() throws IOException {
        while (tok == null || !tok.hasMoreTokens()) {
            tok = new StringTokenizer(in.readLine());
        }
        return tok.nextToken();
    }

    private int nextInt() throws IOException {
        return parseInt(nextToken());
    }
}