#include <bits/stdc++.h>
using namespace std;
int pl, mi, n, m, a, i;
char ch;
int main() {
  map<int, int> mymap;
  cin >> n >> m;
  for (i = 1; i <= n; i++) {
    cin >> ch >> a;
    if (ch == '+') {
      pl++;
      mymap[a] = mymap[a] + 1;
    } else {
      mi++;
      mymap[a] = mymap[a] - 1;
    }
    cout << ch;
  }
  if (m == n || pl == n || mi == n) {
    for (i = 1; i <= n; i++) {
      if (m == n)
        cout << "Truth" << endl;
      else if (pl == n || mi == n)
        cout << "Not defined" << endl;
    }
    return 0;
  }
  for (i = 1; i <= n; i++) {
    if (mymap[i] > 0)
      cout << "Not defined" << endl;
    else if (mymap[i] <= 0)
      cout << "Lie" << endl;
  }
  return 0;
}
