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 {
    static final int MAXN = 100000+10;
    static int[] Commit = new int[ MAXN + 1 ] ;
    static int[] NCommit = new int[ MAXN + 1 ];
    static int[] tmp = new int[ MAXN + 1 ];
    static int[] isTrue = new int[ MAXN + 1 ];

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

        Arrays.fill( Commit , 0 );
        Arrays.fill( NCommit , 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]] ++ ;
            }else{
                tmp[i] = -tmp[i];
                NCommit[-tmp[i]] ++ ;
            }
        }

        int sum = 0 ;
        for( int i = 1 ; i <= n ; i ++ )
            sum += Commit[ i ] ;
        
        Arrays.fill( isTrue , 0 );
        for( int i = 1 ; i <= n ; i ++ ){
            // check if he tell the truth;
            if( check( NCommit,Commit,tmp,sum,n,m,i )){
                isTrue[ i ] += 1;
            }
            //check if he tell a lie;
            //tmp[i] = -tmp[i];
            if(check_lie(NCommit, Commit, tmp, sum, n, m, i)){
                isTrue[ i ] -= 1;
            }
            //tmp[i] = -tmp[i] ;
        }
        for( int i = 1 ; i <= n ; i ++){
            if( isTrue[i] == 0 ) out.printLine("Not defined");
            else if( isTrue[i] == 1 ) out.printLine("Truth");
            else out.printLine("Lie");
        }
        
    }

    private boolean check_lie(int[] nCommit, int[] commit, int[] tmp, int sum, int n, int m, int i) {
        if( tmp[i] > 0 ){
            if( n - commit[tmp[i]] >= m )
                return true;
        }else{
             if( n - (sum-commit[-tmp[i]] ) - nCommit[-tmp[i]] == m )
                 return true;
          }
        return false;
    }

    private boolean check(int[] nCommit, int[] commit, int[] tmp, int sum, int n, int m,int i) {
        if( tmp[i] > 0 ){
            if( n - (sum-commit[tmp[i]] ) - nCommit[tmp[i]] == m )
                return true;
        }else{
            if( n - commit[-tmp[i]] >= m )
                return true;
        }
        return false;
    }

}

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();
    }

}
