import java.io.PrintWriter;
import java.util.*;
public class aba {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        PrintWriter pw=new PrintWriter(System.out);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int []mas=new int [n+1];
        int [][] ragaca=new int [n+1][2];
        int sum2=0;
        int q=0;
        HashSet<Integer> set=new HashSet<Integer>();
        for(int i=1;i<=n;i++){
            String s=sc.next();
            int k=Integer.parseInt(s.substring(1));
            int t=-1;
            if(s.charAt(0)=='+'){
                t=1;
            }
            mas[i]=t*k;
            if(t==1){
                ragaca[k][0]++;
            }
            else {ragaca[k][1]++;
            sum2++;}
        }
        for(int i=1;i<=n;i++){
            int t=ragaca[i][0]+sum2-ragaca[i][1];
            if(t==m){
                set.add(i);
                q=i;
            }
        }
        for(int i=1;i<=n;i++){
            if(set.size()!=1){
                int t=Math.abs(mas[i]);
                if(set.contains(t)){
                    pw.println("Not defined");  
                }
                else{
                    if(mas[i]>0)
                        pw.println("Lie");
                    else System.out.println("Truth");
                }
            }
            else{
                int t=Math.abs(mas[i]);
                if(t==q && mas[i]>0) pw.println("Truth");
                if(t==q && mas[i]<0) pw.println("Lie");
                if(t!=q && mas[i]>0) pw.println("Lie");
                if(t!=q && mas[i]<0) pw.println("Truth");
            }
        }
        pw.flush();
    
        pw.close();
    }
}
