import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ProblemB {


    public static void main(String[] args) throws IOException {
        BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
        String[] line = s.readLine().split(" ");
        int n = Integer.valueOf(line[0]);
        int m = Integer.valueOf(line[1]);
        
        int[] flag = new int[n+1];
        boolean[] type = new boolean[n+1];
        int notall = 0;
        int yesall = 0;
        List<Integer>[] yesdo = new List[n+1];
        List<Integer>[] notdo = new List[n+1];
        for (int i = 1 ; i <= n ; i++) {
            yesdo[i] = new ArrayList<Integer>();
            notdo[i] = new ArrayList<Integer>();
        }
        for (int i = 1 ; i <= n ; i++) {
            String z = s.readLine();
            int tg = Integer.valueOf(z.substring(1));
            boolean isc = (z.charAt(0) == '+');
            if (isc) {
                type[i] = true;
                yesdo[tg].add(i);
                yesall++;
            } else {
                notdo[tg].add(i);
                notall++;
            }
        }
        
        int tcnt = 0;
        for (int c = 1 ; c <= n ; c++) {
            int truth = yesdo[c].size() + (notall - notdo[c].size());
            if (truth == m) {
                for (int didyes : yesdo[c]) {
                    flag[didyes]++;
                }
                for (int didno : notdo[c]) {
                    flag[didno]--;
                }
                tcnt++;
            }
        }
        for (int i = 1 ; i <= n ; i++) {
            if (!type[i]) {
                flag[i] += tcnt;
            }
        }
        
        
        for (int i = 1 ; i <= n ; i++) {
            if (flag[i] == 0) {
                System.out.println("Lie");
            } else if (flag[i] == tcnt) {
                System.out.println("Truth");
            } else {
                System.out.println("Not defined");
            }
        }
    }
}