#include <bits/stdc++.h>
using namespace std;
int f[100001], n, m, i, j, p[100001], q[100001], s, x, a;
int main() {
  scanf("%d%d", &n, &m);
  for (i = 1; i <= n; i++) {
    scanf("%d", &f[i]);
  }
  memset(p, -1, sizeof(p));
  for (i = 1; i <= n; i++) {
    memset(q, -1, sizeof(q));
    s = 0;
    x = -1 * i;
    a = 0;
    for (j = 1; j <= n; j++) {
      if (f[j] == i) {
        s++;
        q[i] = 1;
        continue;
      }
      if (f[j] == x) {
        a++;
        q[i] = 0;
        continue;
      }
    }
    if (s <= m && m <= s + a) {
      for (j = 1; j <= n; j++)
        if (p[j] == -1)
          p[j] = q[j];
        else if (p[j] != q[j])
          p[j] = 2;
    }
  }
  for (i = 1; i <= n; i++)
    if (p[i] == 0)
      cout << "Lie" << endl;
    else if (p[i] == 1)
      cout << "Truth" << endl;
    else
      cout << "Not defined" << endl;
  return 0;
}
