import java.util.*;
// import java.io.*;
// import java.math.*;
import static java.lang.Math.*;

public class Main{
    
    public void go(){
        int n=sc.nextInt(), m=sc.nextInt();
        int[] accuse = new int[n];
        for(int i=0; i<n; ++i){
            String s = sc.next();
            if(s.charAt(0)=='+') s = s.substring(1);
            accuse[i] = Integer.parseInt(s);
        }

        int[] notA = new int[n], yesA = new int[n];
        int nNots = 0;
        for(int i : accuse){
            if(i<0){
                ++nNots;
                ++notA[abs(i)-1];
            }else
                ++yesA[i-1];
        }

        TreeSet<Integer> couldBe = new TreeSet<Integer>();
        for(int i=0; i<n; ++i) if(nNots-notA[i] + yesA[i] == m)
            couldBe.add(i);

        for(int i : accuse){
            boolean contained = couldBe.contains(abs(i)-1);
            boolean onlyOne = couldBe.size()==1;
            // handle couldBe.size()==0
            if(i < 0){
                 i=abs(i)-1;
                 if(!contained)
                     System.out.printf("Truth\n");
                 else{
                     if(onlyOne)
                         System.out.printf("Lie\n");
                     else
                         System.out.printf("Not defined\n");
                 }
            }else{
                if(!contained)
                    System.out.printf("Lie\n");
                else{
                    if(onlyOne)
                        System.out.printf("Truth\n");
                    else
                        System.out.printf("Not defined\n");
                }
            }
                
        }

    }

    // syntax
    // ArrayList<Integer>[] myMat = (ArrayList<Integer>[]) new ArrayList[nB];

    // generic main stuff
    static Scanner sc;
    static long startTime;
    public static void main(String[] args) throws Exception{
        sc = new Scanner(System.in);
        // sc = (new Main()).new myScanner(new BufferedReader(new InputStreamReader(System.in)));
        startTime = abs(System.nanoTime());
        (new Main()).go();
        // errprintln("nanoTime="+(System.nanoTime()-startTime)/1000000/1000.0);
        System.exit(0);
    }

}
