#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> V;
  int N, M;
  cin >> N >> M;
  int ans[100020];
  int tell[100020];
  memset(ans, -1, sizeof(ans));
  for (int i = 0; i < N; i++) {
    cin >> tell[i];
  }
  int tn = 0;
  for (int crime = 0; crime < N; crime++) {
    tn = 0;
    for (int i = 0; i < N; i++) {
      if (tell[i] == crime + 1 || (tell[i] < 0 && tell[i] != -(crime + 1)))
        tn++;
    }
    if (tn == M)
      V.push_back(crime);
    else {
      for (int i = 0; i < N; i++) {
        if (tell[i] == crime + 1) ans[i] = 0;
      }
    }
  }
  if (V.size() == 1) {
    for (int i = 0; i < N; i++) {
      if (tell[i] == V[0] + 1 || (tell[i] < 0 && tell[i] != -(V[0] + 1))) {
        ans[i] = 1;
      }
    }
  } else if (V.size() > 1) {
    for (int i = 0; i < V.size(); i++) {
      if (find(V.begin(), V.end(), tell[V[i]] - 1) != V.end() &&
          tell[V[i]] > 0) {
        ans[i] = 0;
      }
    }
  }
  for (int i = 0; i < N; i++) {
    if (ans[i] == -1)
      cout << "Not defined" << endl;
    else if (ans[i] == 0)
      cout << "Lie" << endl;
    else
      cout << "Truth" << endl;
  }
}
