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

/**
 * User: hornswf
 * Date: 4/28/12
 * Time: 5:14 PM
 */

public class suspects {

    static class Reader {
        private StringTokenizer st;
        private BufferedReader br;

        public Reader(InputStreamReader is){
            this.br = new BufferedReader(is);
            this.st = null;
        }

        public String next() throws Exception {
            if (st != null){
                if (st.hasMoreTokens()){
                    return st.nextToken();
                }
                else {
                    st = new StringTokenizer(br.readLine());
                    return this.next();
                }
            }

            else {
                st = new StringTokenizer(this.br.readLine());
                return this.next();
            }
        }

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

    public static int parse(String str){
        int result = Integer.parseInt(str.substring(1));
        if (str.charAt(0) != '+') result *= -1;
        return result;
    }

    public static void main(String[] args) throws Exception{
        Reader r = new Reader(new InputStreamReader(System.in));
        Writer w = new BufferedWriter(new OutputStreamWriter(System.out));

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

        int[] presumablyGuilty = new int[n + 1];
        int[] presumablyInnocent = new int[n + 1];

        int[] talkingInfo = new int[n];
        int innocentCnt = 0;

        for (int i = 0; i < n; i++){
            String line = r.next();
            int suspectIndex = parse(line);
            if (suspectIndex > 0) presumablyGuilty[suspectIndex]++;
            else {
                presumablyInnocent[-suspectIndex]++;
                innocentCnt++;
            }
            talkingInfo[i] = suspectIndex;
        }

        boolean[] possiblyGuilty = new boolean[n+1];
        int possiblyGuiltyCnt = 0;
        for(int i=0; i <= n; i++ ){
            int investigationResult = presumablyGuilty[i] - presumablyInnocent[i] + innocentCnt;
            possiblyGuilty[i] = investigationResult == m;
            if (possiblyGuilty[i]) possiblyGuiltyCnt++;
        }


        for(int i = 0; i < n; i++){
            if(talkingInfo[i] > 0){
                if (possiblyGuilty[talkingInfo[i]] && possiblyGuiltyCnt==1) w.write("Truth\n");
                else if (!possiblyGuilty[talkingInfo[i]]) w.write("Lie\n");
                else w.write("Not defined\n");
            }
            else {
                if (possiblyGuilty[-talkingInfo[i]] && possiblyGuiltyCnt == 1) w.write("Lie\n");
                else if (!possiblyGuilty[-talkingInfo[i]]) w.write("Truth\n");
                else w.write("Not defined\n");
            }
        }
        w.flush();
        w.close();
    }

}
