import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.HashSet;
import java.util.Scanner;

/**
 * Created by IntelliJ IDEA.
 * User: serparamon
 * Date: 29.02.12
 * Time: 19:52
 * To change this template use File | Settings | File Templates.
 */
public class Codeforces_2012_02_29_B {
    public static void main(String[] args) throws Exception{
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String NM[] = in.readLine().split(" ");
        int n = new Integer(NM[0]);
        int m = new Integer(NM[1]);
        int[] a = new int[n];
        boolean[] b = new boolean[n];
        int[] vin = new int[n];
        int[] nev = new int[n];
        int VIN = 0;
        int NEV = 0;
        for (int i=0; i<n; i++) {
            String s = in.readLine();
            a[i] = new Integer(s.substring(1)) - 1;
            if (s.charAt(0) == '+') {
                b[i] = true;
                vin[a[i]]++;
                VIN++;
            }
            else {
                b[i] = false;
                nev[a[i]]++;
                NEV++;
            }
        }
        HashSet<Integer> kill = new HashSet<Integer>();
        for (int i=0; i<n; i++) {
            if (VIN - vin[i] + nev[i] == n-m) {
                kill.add(i);
            }
        }
        for (int i=0; i<n; i++) {
            if (b[i]) {
                if (kill.contains(a[i])) {
                    if (kill.size() == 1) {
                        System.out.println("Truth");
                    }
                    else {
                        System.out.println("Not defined");
                    }
                }
                else {
                    System.out.println("Lie");
                }
            }
            else {
                if (kill.contains(a[i])) {
                    if (kill.size() == 1) {
                        System.out.println("Lie");
                    }
                    else {
                        System.out.println("Not defined");
                    }
                }
                else {
                    System.out.println("Truth");
                }
            }
        }
    }
}
