import java.util.*;

/**
 * Created by IntelliJ IDEA.
 * User: piyushd
 * Date: 3/29/11
 * Time: 7:56 PM
 * To change this template use File | Settings | File Templates.
 */
public class TaskD {

    void run() {
        int n = nextInt();
        int m = nextInt();
        boolean[] isBad = new boolean[n];
        int[] reply = new int[n];
        int numCrminalAllegations = 0;
        int numNonCriminalAllegations = 0;
        
        ArrayList<Integer>[] criminalAllegations = new ArrayList[n];
        ArrayList<Integer>[] nonCriminalAllegations = new ArrayList[n];
        for(int i = 0; i < n; i++) {
            criminalAllegations[i] = new ArrayList<Integer>();
            nonCriminalAllegations[i] = new ArrayList<Integer>();
        }
        
        for(int i = 0; i < n; i++) {
            String s = next();
            isBad[i] = (s.charAt(0) == '+');
            reply[i] = Integer.valueOf(s.substring(1)) - 1;
            if(isBad[i]) {
                numCrminalAllegations++;
                criminalAllegations[reply[i]].add(i);
            }
            else {
                numNonCriminalAllegations++;
                nonCriminalAllegations[reply[i]].add(i);
            }
        }
        
        

        HashSet<Integer> potentialCriminals = new HashSet<Integer>();
        for(int criminal = 0; criminal < n; criminal++) {
            int truth = 0;
            truth += criminalAllegations[criminal].size();
            truth += numNonCriminalAllegations - nonCriminalAllegations[criminal].size();
            if(truth == m) {
                potentialCriminals.add(criminal);
            }
        }
        
        for(int i = 0; i < n; i++) {
            if(isBad[i]) {
                if(potentialCriminals.contains(reply[i])) {
                    if(potentialCriminals.size() > 1) {
                        System.out.println("Not defined");
                    }
                    else {
                        System.out.println("Truth");
                    }
                }
                else {
                    System.out.println("Lie");
                }
            }
            else {
                if(!potentialCriminals.contains(reply[i])) {
                    System.out.println("Truth");
                }
                else {
                    if(potentialCriminals.size() > 1) {
                        System.out.println("Not defined");
                    }
                    else {
                        System.out.println("Lie");
                    }
                }
            }
        }
    }

    int nextInt() {
        try {
            int c = System.in.read();
            if (c == -1) return c;
            while (c != '-' && (c < '0' || '9' < c)) {
                c = System.in.read();
                if (c == -1) return c;
            }
            if (c == '-') return -nextInt();
            int res = 0;
            do {
                res *= 10;
                res += c - '0';
                c = System.in.read();
            } while ('0' <= c && c <= '9');
            return res;
        } catch (Exception e) {
            return -1;
        }
    }

    long nextLong() {
        try {
            int c = System.in.read();
            if (c == -1) return -1;
            while (c != '-' && (c < '0' || '9' < c)) {
                c = System.in.read();
                if (c == -1) return -1;
            }
            if (c == '-') return -nextLong();
            long res = 0;
            do {
                res *= 10;
                res += c - '0';
                c = System.in.read();
            } while ('0' <= c && c <= '9');
            return res;
        } catch (Exception e) {
            return -1;
        }
    }

    double nextDouble() {
        return Double.parseDouble(next());
    }

    String next() {
        try {
            StringBuilder res = new StringBuilder("");
            int c = System.in.read();
            while (Character.isWhitespace(c))
                c = System.in.read();
            do {
                res.append((char) c);
            } while (!Character.isWhitespace(c = System.in.read()));
            return res.toString();
        } catch (Exception e) {
            return null;
        }
    }

    String nextLine() {
        try {
            StringBuilder res = new StringBuilder("");
            int c = System.in.read();
            while (c == '\r' || c == '\n')
                c = System.in.read();
            do {
                res.append((char) c);
                c = System.in.read();
            } while (c != '\r' && c != '\n');
            return res.toString();
        } catch (Exception e) {
            return null;
        }
    }

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