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

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

class TaskD {
	public void solve(int testNumber, Scanner in, PrintWriter out) {
        int n=in.nextInt(),negatives=0,i;
        int a[]=new int[n];
        int m=in.nextInt();
        int yes[]=new int[n];
        int no[]=new int[n];
        for(i=0;i<n;i++)
        {
            String s=in.next();
            if(s.charAt(0)=='+')
            {
                a[i]=Integer.parseInt(s.substring(1,s.length()));
                yes[a[i]-1]+=1;
            }
            else {
                a[i]=-(Integer.parseInt(s.substring(1,s.length())));
                negatives++;
                no[Math.abs(a[i])-1]+=1;
            }
        }
        int num=0;
        boolean guilty[]=new boolean[n];
        for(i=0;i<n;i++)
        {
             if(yes[i]+negatives-no[i]==m)
             {
                 num++;
                 guilty[i]=true;
             }
        }
        for(i=0;i<n;i++)
        {
            if(a[i]>0)
            {
                if(guilty[a[i]-1])
                {
                    if(num==1)
                        out.println("Truth");
                    else out.println("Not defined");

                }
                else out.println("Lie");
            }
            else
            {
                if(guilty[Math.abs(a[i])-1])
                {
                    if(num==1)
                        out.println("Lie");
                    else out.println("Not defined");
                }
                else out.println("Truth");
            }
        }
	}
}

