import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Toni Rajkovski
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        FastReader in = new FastReader(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskD solver = new TaskD();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskD {
        public void solve(int testNumber, FastReader in, PrintWriter out) {
            int n = in.nextInt();
            int m = in.nextInt();

            TaskD.Field[] fields = new TaskD.Field[n];
            for (int i = 0; i < n; i++) fields[i] = new TaskD.Field();

            int totalP = 0, totalM = 0;
            for (int i = 0; i < n; i++) {
                int a = in.nextInt();
                int pos = Math.abs(a) - 1;
                fields[i].pos = pos;
                if (a < 0) {
                    fields[i].pointsCriminal = false;
                    totalM++;
                    fields[pos].pm++;
                } else {
                    fields[i].pointsCriminal = true;
                    totalP++;
                    fields[pos].pp++;
                }
            }

            int numCriminals = 0;
            for (int i = 0; i < n; i++) {
                TaskD.Field f = fields[i];
                if (m == f.pp + totalM - f.pm) {
                    f.canBeCriminal = true;
                    numCriminals++;
                }
            }

            for (int i = 0; i < n; i++) {
                TaskD.Field f = fields[i];
                if (f.pointsCriminal) {
                    if (fields[f.pos].canBeCriminal) {
                        if (numCriminals == 1) out.println("Truth");
                        else out.println("Not defined");
                    } else out.println("Lie");
                } else {
                    if (fields[f.pos].canBeCriminal) {
                        if (numCriminals == 1) out.println("Lie");
                        else out.println("Not defined");
                    } else out.println("Truth");
                }
            }
        }

        static class Field {
            int pos;
            boolean pointsCriminal;
            int pp;
            int pm;
            boolean canBeCriminal;

        }

    }

    static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        public FastReader(InputStream is) {
            br = new BufferedReader(new
                    InputStreamReader(is));
        }

        public String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        public int nextInt() {
            return Integer.parseInt(next());
        }

    }
}

