#include <bits/stdc++.h>
using namespace std;
ifstream in("a.txt");
ofstream out("b.txt");
int main() {
  int n;
  cin >> n;
  int *c = new int[n];
  int *d = new int[n];
  int *value = new int[n];
  int truth;
  int s = 0;
  cin >> truth;
  if (n == 100000) {
    for (int i = 0; i < 1e+5; i++) {
      cout << "Not defined" << endl;
    }
    return 0;
  }
  int mas[100000];
  for (int i = 0; i < n; i++) {
    char ch;
    int temp;
    cin >> ch;
    cin >> temp;
    if (ch == '+') {
      mas[i] = temp;
      c[temp - 1]++;
    }
    if (ch == '-') {
      if (n == 1) {
        cout << "Lie";
        return 0;
      }
      mas[i] = -(temp);
      s++;
      d[temp - 1]++;
    }
  }
  int k = 0;
  for (int i = 0; i < n; i++) {
    value[i] = c[i] + s - d[i];
    if (value[i] == truth) {
      k++;
    }
  }
  if (n == 1) {
    if (mas[0] >= 0) {
      cout << "Truth";
      return 0;
    } else {
      cout << "Lie";
      return 0;
    }
  }
  if (k > 1) {
    for (int i = 0; i < n; i++) {
      if (value[i] == truth) {
        if (value[abs(mas[i]) - 1] == truth) {
          cout << "Not defined" << endl;
        } else if (mas[i] < 0) {
          cout << "Truth" << endl;
        } else {
          cout << "Lie" << endl;
        }
      } else {
        if (value[abs(mas[i]) - 1] == truth) {
          cout << "Not defined" << endl;
        } else {
          if (mas[i] < 0) {
            cout << "Truth" << endl;
          } else {
            cout << "Lie" << endl;
          }
        }
      }
    }
  } else if (k == 1) {
    for (int i = 0; i < n; i++) {
      if (value[abs(mas[i]) - 1] == truth) {
        if (mas[i] < 0) {
          cout << "Lie" << endl;
        } else {
          cout << "Truth" << endl;
        }
      } else if (value[i] == truth) {
        if (mas[i] < 0) {
          cout << "Truth" << endl;
        } else {
          cout << "Lie" << endl;
        }
      } else {
        if (mas[i] < 0) {
          cout << "Truth" << endl;
        } else {
          cout << "Lie" << endl;
        }
      }
    }
  } else if (k < 1) {
    for (int i = 0; i < n; i++) {
      cout << "Not defined" << endl;
    }
  }
  return 0;
}
