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

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

class TaskB {
	public void solve(int testNumber, MyInputReader in, MyOutputWriter out) {
        int n = in.nextInt() , m = in.nextInt() ;

        int[] tmp = new int[ n + 1 ];
        int[] Commit = new int[ n + 1 ] ;
        int[] NCommit = new int[ n + 1 ];
        Arrays.fill( Commit , 0 );
        Arrays.fill( NCommit , 0 );

        int totalCommit = 0 ;
        for( int i = 1 ; i <= n ; i ++ ){
            String tb = in.next();
            tmp[i] = Integer.parseInt( tb.substring(1));
            if( tb.charAt(0) == '+' ){
                Commit[tmp[i]] ++ ;
                totalCommit ++ ;
            }else{
                tmp[i] = -tmp[i];
                NCommit[-tmp[i]] ++ ;
            }
        }

        boolean [] can = new boolean[ n +  1 ];
        int commit = 0 ;
        for( int i = 1 ; i <= n ; i ++ ){
            can[i] = n - NCommit[ i ] - ( totalCommit - Commit[i] ) == m ;
            if( can[i] ) commit += 1;
        }

        for( int i = 1 ; i <= n ; i ++ ){
            int theone = Math.abs( tmp[i] );
            if( !can[ theone ] ){
                out.printLine( tmp[i] < 0 ? "Truth" : "Lie");
            }else if( commit > 1 ){
                out.printLine( "Not defined");
            }else{
                out.printLine( tmp[i] < 0 ? "Lie" :"Truth" );
            }
        }
        
        
        
        

	}
}

class MyInputReader {
    private BufferedReader reader;
    private StringTokenizer tokenizer;

    public MyInputReader(InputStream stream) {
        reader = new BufferedReader(new InputStreamReader(stream));
        tokenizer = null;
    }

    public String next() {
        while (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken();
    }

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

class MyOutputWriter {
    private final PrintWriter writer;

    public MyOutputWriter(OutputStream outputStream) {
        writer = new PrintWriter(outputStream);
    }

    public MyOutputWriter(Writer writer) {
        this.writer = new PrintWriter(writer);
    }

    public void print(Object...objects) {
        for (int i = 0; i < objects.length; i++) {
            if (i != 0)
                writer.print(' ');
            writer.print(objects[i]);
        }
    }

    public void printLine(Object...objects) {
        print(objects);
        writer.println();
    }

    public void close() {
        writer.close();
    }

}

