#include <bits/stdc++.h>
using namespace std;
int a[1000005], ca[1000005], cb[1000005], cca, ccb, fa[1000005], fb[1000005];
int main() {
  int n, m, i, tmp;
  while (cin >> n >> m) {
    cca = ccb = 0;
    memset(ca, 0, sizeof(ca));
    memset(cb, 0, sizeof(cb));
    for (i = 1; i <= n; i++) {
      cin >> a[i];
      if (a[i] > 0) {
        cca++;
        ca[a[i]]++;
      } else {
        ccb++;
        cb[-a[i]]++;
      }
    }
    if (n == m) {
      for (i = 1; i <= n; i++) cout << "Truth" << endl;
    } else {
      memset(fa, 0, sizeof(fa));
      memset(fb, 0, sizeof(fb));
      for (i = 1; i <= n; i++) {
        tmp = ca[i] + ccb - cb[i];
        if (tmp == m) {
          fa[i]++;
          fb[i]++;
        }
      }
      for (i = 1; i <= n; i++) {
        if (a[i] > 0) {
          tmp = a[i];
          if (fa[tmp] == n)
            cout << "Truth" << endl;
          else if (fa[tmp] == 0)
            cout << "Lie" << endl;
          else
            cout << "Not defined" << endl;
        } else {
          tmp = -a[i];
          if (fb[tmp] == 0)
            cout << "Truth" << endl;
          else if (fb[tmp] == n)
            cout << "Lie" << endl;
          else
            cout << "Not defined" << endl;
        }
      }
    }
  }
  return 0;
}
