#include <bits/stdc++.h>
using namespace std;
int n, m, i, all = 0, ans[100010], yes[100010], no[100010], cri[100010],
             cnt = 0;
int main() {
  cin >> n >> m;
  for (i = 1; i <= n; i++) {
    cin >> ans[i];
    if (ans[i] > 0)
      yes[ans[i]]++;
    else
      no[-ans[i]]++, all++;
  }
  for (i = 1; i <= n; i++)
    if (yes[i] + all - no[i] == m) {
      cri[i] = 1;
      cnt++;
    }
  for (i = 1; i <= n; i++) {
    if (ans[i] > 0) {
      if (cnt == 1 && cri[ans[i]])
        cout << "Truth" << endl;
      else if (!cri[ans[i]])
        cout << "Lie" << endl;
      else
        cout << "Not defined" << endl;
    } else {
      if (cri[-ans[i]] == 0)
        cout << "Truth" << endl;
      else if (cnt == 1)
        cout << "Lie" << endl;
      else
        cout << "Not defined" << endl;
    }
  }
  return 0;
}
