#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  bool kill[10000];
  int numb[10000];
  string buf;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> buf;
    if (buf[0] == '+')
      kill[i] = true;
    else
      kill[i] = false;
    buf = buf.substr(1);
    numb[i] = atoi(buf.c_str()) - 1;
  }
  int truthes;
  bool wasFound = false;
  int saidTrue[10000];
  for (int i = 0; i < n; i++) {
    truthes = m;
    for (int j = 0; j < n; j++) {
      if (numb[j] == i) {
        if (kill[j]) truthes--;
      } else {
        if (!kill[j]) truthes--;
      }
      if (truthes < 0) break;
    }
    if (truthes == 0) {
      if (!wasFound) {
        for (int j = 0; j < n; j++) {
          if (numb[j] == i) {
            if (kill[j])
              saidTrue[j] = 1;
            else
              saidTrue[j] = -1;
          } else {
            if (!kill[j])
              saidTrue[j] = 1;
            else
              saidTrue[j] = -1;
          }
        }
        wasFound = true;
      } else {
        for (int j = 0; j < n; j++) {
          if (numb[j] == i) {
            if (kill[j]) {
              if (saidTrue[j] != 1) saidTrue[j] = 0;
            } else {
              if (saidTrue[j] != -1) saidTrue[j] = 0;
            }
          } else {
            if (!kill[j]) {
              if (saidTrue[j] != 1) saidTrue[j] = 0;
            } else {
              if (saidTrue[j] != -1) saidTrue[j] = 0;
            }
          }
        }
      }
    }
  }
  for (int i = 0; i < n; i++) {
    if (saidTrue[i] == -1)
      cout << "Lie\n";
    else {
      if (saidTrue[i] == 0)
        cout << "Not defined\n";
      else
        cout << "Truth\n";
    }
  }
  return 0;
}
