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

/**
 * @author Sergey Vorobyev (svorobyev@spb.com)
 */
public class D {
    
    BufferedReader br;
    PrintWriter out;
    
    public static void main(String[] args) throws Exception {
        D instance = new D();
        instance.go();
    }

    private void go() throws Exception {
        out = new PrintWriter(System.out);
        br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        String[] a = s.split(" ");
        int n = Integer.parseInt(a[0]);
        int m = Integer.parseInt(a[1]);
        int[] pi = new int[n];
        int[] mi = new int[n];
        int P = 0;
        int[] in = new int[n];
        for (int i=0; i<n; i++) {
            s = br.readLine();
            int x = Integer.parseInt(s.substring(1));
            if (s.charAt(0) == '+') {
                mi[x-1]++;
                in[i] = x;
            } else {
                P++;
                pi[x-1]++;
                in[i] = -x;
            }
        }
        
        boolean [] can = new boolean[n];
        int CAN = 0;
        for (int i=0; i<n; i++) {
            if (P - pi[i] + mi[i] == m) {
                can[i] = true;
                CAN++;
            }
        }
        for (int i=0; i<n; i++) {
            int ans = -1;
            if (in[i] < 0) {
                if (can[-in[i] - 1]) {
                    if (CAN > 1) {
                        ans = 2;
                    } else {
                        ans = 0;
                    }
                } else {
                    ans = 1;
                }
            } else {
                if (can[in[i] - 1]) {
                    if (CAN > 1) {
                        ans = 2;
                    } else {
                        ans = 1;
                    }
                } else {
                    ans = 0;
                }
            }
            if (ans == 0) {
                out.println("Lie");
            }
            if (ans == 1) {
                out.println("Truth");
            }
            if (ans == 2) {
                out.println("Not defined");
            }
        }

        out.close();
    }
}
