#include <bits/stdc++.h>
using namespace std;
long long C[100100], D[100100];
long long A[100100];
long long n, m;
long long _sum = 0;
long long R[100100];
long long _rsum = 0;
int main(void) {
  cin >> n >> m;
  for (long long i = 1; i <= n; i++) {
    cin >> A[i];
    if (A[i] > 0) {
      C[A[i]]++;
    } else {
      D[-A[i]]++;
    }
  }
  for (long long i = 1; i <= n; i++) {
    _sum += D[i];
  }
  for (long long i = 1; i <= n; i++) {
    if (_sum - D[i] + C[i] == m) {
      R[i] = 1;
      _rsum++;
    }
  }
  if (_rsum == 1) {
    for (long long i = 1; i <= n; i++) {
      if (A[i] > 0 && R[A[i]] == 0) {
        cout << "Lie" << endl;
      } else if (A[i] < 0 && R[-A[i]] == 1) {
        cout << "Lie" << endl;
      } else {
        cout << "Truth" << endl;
      }
    }
    return 0;
  }
  for (long long i = 1; i <= n; i++) {
    if (A[i] > 0 && R[A[i]] == 0) {
      cout << "Lie" << endl;
    } else if (A[i] < 0 && R[-A[i]] == 0) {
      cout << "Truth" << endl;
    } else {
      cout << "Not defined" << endl;
    }
  }
  return 0;
}
