#include <bits/stdc++.h>
using namespace std;
int did[100100];
int didnot[100100];
int possible[100100];
int answer[100100];
int main() {
  int n;
  int m;
  int temp;
  int totaldid = 0;
  int totaldidnot = 0;
  scanf("%d %d", &n, &m);
  for (int i = 0; i < n; i++) {
    scanf("%d", &temp);
    answer[i + 1] = temp;
    if (temp > 0) {
      did[temp]++;
      totaldid++;
    } else {
      temp = -temp;
      didnot[temp]++;
      totaldidnot++;
    }
  }
  int possiblem;
  int count = 0;
  for (int i = 1; i <= n; i++) {
    possiblem = 0;
    possiblem += did[i];
    possiblem += totaldidnot - didnot[i];
    if (possiblem == m) {
      possible[i] = 1;
      count++;
    }
  }
  if (count == 1) {
    for (int i = 1; i <= n; i++) {
      if (answer[i] > 0) {
        if (possible[answer[i]] == 1)
          cout << "Truth\n";
        else
          cout << "Lie\n";
      } else if (answer[i] < 0) {
        temp = 0 - answer[i];
        if (possible[temp] == 1)
          cout << "Lie\n";
        else
          cout << "Truth\n";
      }
    }
  } else {
    for (int i = 0; i <= n; i++) {
      if (answer[i] > 0) {
        if (possible[answer[i]] == 1)
          cout << "Not defined\n";
        else
          cout << "Lie\n";
      } else if (answer[i] < 0) {
        temp = 0 - answer[i];
        if (possible[temp] == 1)
          cout << "Not defined\n";
        else
          cout << "Truth\n";
      }
    }
  }
  return 0;
}
