#include <bits/stdc++.h>
using namespace std;
long a[100000];
char b[100000];
long c[100000];
bool d[100000];
int main() {
  long n, m, z = 0;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> b[i] >> c[i];
    if (b[i] == '+') {
      a[c[i] - 1]++;
    } else {
      z++;
      a[c[i] - 1]--;
    }
  }
  long min = 0, minz = 0;
  for (int i = 0; i < n; i++)
    if (m == a[i] + z) {
      d[i] = true;
      minz = i;
      min++;
    } else
      d[i] = false;
  if (min == 1) {
    for (int i = 0; i < n; i++)
      if (((b[i] == '+') && (c[i] - 1 == minz)) ||
          ((b[i] == '-') && (c[i] - 1 != minz))) {
        printf("Truth\n");
      } else {
        printf("Lie\n");
      }
  } else {
    for (int i = 0; i < n; i++) {
      if ((b[i] == '+') && (d[c[i] - 1])) printf("Not defined\n");
      if ((b[i] == '+') && (!d[c[i] - 1])) printf("Lie\n");
      if ((b[i] == '-') && (!d[c[i] - 1])) printf("Truth\n");
      if ((b[i] == '-') && (d[c[i] - 1])) printf("Not defined\n");
    }
  }
  return 0;
}
