#include <bits/stdc++.h>
using namespace std;
int w[100001];
bool ok[100001];
int main() {
  int n = 0, sus = 0, sum = 0, cnt = 0, last = 1;
  cin >> n >> sus;
  int i = 0, j = 0;
  for (i = 1; i <= n; i++) cin >> w[i];
  for (i = 1; i <= n; i++) {
    if (abs(w[i]) == i) {
      if (w[i] > 0) sum++;
    } else {
      if (w[i] < 0) sum++;
    }
    if (sum == sus) {
      ok[i] = 1;
      cnt++;
    }
  }
  if (cnt == 1) {
    for (i = 1; i <= n; i++) {
      if (ok[abs(w[i])] == 1) {
        if (w[i] > 0)
          cout << "Truth" << endl;
        else
          cout << "Lie" << endl;
      } else {
        if (w[i] > 0)
          cout << "Lie" << endl;
        else
          cout << "Truth" << endl;
      }
    }
  } else {
    for (i = 1; i <= n; i++) {
      int q = w[i];
      if (w[i] > 0) {
        if (ok[q] == 1)
          cout << "Not defined" << endl;
        else
          cout << "Lie" << endl;
      } else {
        if (ok[abs(q)] == 1)
          cout << "Not defined" << endl;
        else
          cout << "Truth" << endl;
      }
    }
  }
  return 0;
}
