import java.io.OutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
import java.io.InputStream;

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

class TaskB {
    public void solve(int testNumber, MyScanner in, PrintWriter out) {
        int n=in.nextInt(),m=n-in.nextInt();
        boolean[] bs=new boolean[n];
        int[] is=new int[n];
        int numPlus = 0;
        for(int i = 0;i<n; ++i){
            char c = in.nextChar();
            bs[i] = c=='+';
            if(bs[i])numPlus++;
            is[i] = in.nextInt()-1;
        }
        int numCand= 0;
        boolean[] canCriminal = new boolean[n];
        int[] a=new int[n];
        int[] b=new int[n];
        for(int i = 0;i<n; ++i){
            if(bs[i])a[is[i]]++;
            else b[is[i]]++;
        }
        for(int i = 0;i<n; ++i){
            int liar = numPlus - a[i] + b[i];
            if(liar == m){
                canCriminal[i] = true;
               numCand++;
            }
        }
        StringBuilder sb = new StringBuilder();
        for(int i = 0;i<n; ++i){
            String str;
            if(canCriminal[is[i]] && numCand>1){
                str = "Not defined";
            }else if(canCriminal[is[i]]){
                str = bs[i] ? "Truth":"Lie";
            }else{
                str = bs[i] ? "Lie":"Truth";
            }
            sb.append(str);
            sb.append('\n');
        }
        out.print(sb);
    }
}

class MyScanner {
    private final InputStream in;
    public MyScanner(InputStream in){
        this.in = in;
    }

    public char nextChar(){
        try{
			int c=in.read();
			if(c==-1) return (char)c;
			while(Character.isWhitespace(c)){
				c=in.read();
				if(c==-1) return (char)c;
			}
            return (char)c;
		}catch(Exception e){
			return (char)-1;
		}
    }

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

	}
