import java.util.*;
import java.io.*;

public class Main2 {
  
  private static boolean[] killArr;
  private static int[] pointArr;
  private static int people, truthTalkers;
  
  private static int blame[], justify[], justifyAll;
  
  
  private static int[] result;
  private static final int T = 1, F = 2, ND = 3;

  private static void addResult(int killer) {
    if (result == null) {
      result = new int[people];
      for (int i = 0; i < people; i++) {
        result[i] = killArr[i] == (pointArr[i] == killer) ? T : F;
      }
    } else {
      for (int i = 0; i < people; i++) {
        if (result[i] != ND) {
          int t = killArr[i] == (pointArr[i] == killer) ? T : F;
          if (t != result[i]) {
            result[i] = ND;
          }
        }
      }
    }
  }
  
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] fs = in.readLine().split(" ");
    people = Integer.parseInt(fs[0]);
    truthTalkers = Integer.parseInt(fs[1]);
    
    killArr = new boolean[people];
    pointArr = new int[people];
    blame = new int[people];
    justify = new int[people];
    
    for (int i = 0; i < people; i++) {
      String next = in.readLine();
      boolean kill = next.charAt(0) == '+';
      killArr[i] = kill;
      int pointTo = Integer.parseInt(next.substring(1)) - 1;
      pointArr[i] = pointTo;
      if (kill) {
        blame[pointTo]++;
      } else {
        justify[pointTo]++;
        justifyAll++;
      }
    }
    
    boolean first = true;
    for (int killer = 0; killer < people; killer++) {
      if (blame[killer]+justifyAll-justify[killer] == truthTalkers) {
        addResult(killer);
      } else if (first) {
        if (justifyAll == truthTalkers) {
          addResult(killer);
        }
        first = false;        
      }
    }
    
    for (int i = 0; i < people; i++) {
      switch (result[i]) {
        case T: System.out.println("Truth"); break;
        case F: System.out.println("Lie"); break;
        case ND: System.out.println("Not defined"); break;
      }
    }
    
  }
}