#!/usr/bin/env python

import sys
import pdb

n,m = map(int, sys.stdin.readline().split())

pos_dict = {}
neg_dict = {}

for i in xrange (1, n+1):
	str = sys.stdin.readline()
	if str[0] == '+':
		pos_dict[i] = int(str[1])
	else:
		neg_dict[i] = int(str[1])

verdicts = []

for i in xrange (1, n+1):
	
	truth_num = 0
	verdict_list = []

	for j in xrange (1, n+1):
		if j in pos_dict:
			if pos_dict[j] == i:
				truth_num += 1
				verdict_list.append(1)
			else: verdict_list.append(0)

		elif neg_dict[j] != i:
			truth_num += 1
			verdict_list .append(1)
		else: verdict_list.append(0)

		if truth_num > m : break

	if truth_num == m:
		verdicts.append(verdict_list)

verdicts = zip(*verdicts)

for tup in verdicts:
	if len(set(tup)) > 1:
		print "Not defined"
	elif tup[0] == 0:
		print "Lie"
	else : print "Truth"
	
				
