import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.StringTokenizer;

public class d110 {
    public static void debug(Object... obs) {
        System.out.println(Arrays.deepToString(obs));
    }

    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int num_minus=0;
        
        int n=Integer.parseInt(st.nextToken());
        int m=Integer.parseInt(st.nextToken());
        
        int[]pl=new int[n];
        int[]mi=new int[n];
        boolean h[]=new boolean[n];
        int[]p=new int[n];
                
        
        for(int i=0;i<n;i++)
        {
            String l=br.readLine();
            boolean plu=(l.charAt(0)=='+')?true:false;
            int k=Integer.parseInt(l.substring(1))-1;
            
            h[i]=plu;
            p[i]=k;
            
            if(!plu) num_minus++;
            
            if(plu)
            {
                pl[k]++;
            }
            else
            {
                mi[k]++;
            }
        }
        //debug(pl);
        //debug(mi);
        //debug(p);
        //debug(h);
        
        Set<Integer>sols=new HashSet<Integer>();
        for(int i=0;i<n;i++)
        {
            if(pl[i] + num_minus - mi[i] == m)
                sols.add(i);
        }
        
        //debug(sols);
        
        for(int i=0;i<n;i++)
        {
            if(h[i] && sols.size()==1 && sols.contains(p[i]))
            {
                System.out.println("Truth");
            }
            else if(h[i] && !sols.contains(p[i]))
            {
                System.out.println("Lie");
            }
            else if(h[i])
            {
                System.out.println("Not defined");
            }
            else if(!h[i] && sols.size()==1 && sols.contains(p[i]))
            {
                System.out.println("Lie");
            }
            else if(!h[i] && !sols.contains(p[i]))
            {
                System.out.println("Truth");
            }
            else if(!h[i])
            {
                System.out.println("Not defined");
            }
        }
    }
}
