n, m = map(int, raw_input().split())


if m == n:
    for i in range(n):
        s = raw_input()
        print "Truth"
    exit()

if m == 0:
    for i in range(n):
        s = raw_input()
        print "Lie"
    exit()

count_minus = 0

from collections import defaultdict

minuses = defaultdict(int)
pluses = defaultdict(int)

minuses_list = defaultdict(list)
pluses_list = defaultdict(list)

f = defaultdict(int)
t = defaultdict(int)

for i in xrange(n):
    s = raw_input()
    sign = s[0]
    value = int(s[1:])

    if sign == '-':
        count_minus += 1
        minuses[value] += 1
        minuses_list[value].append(i)
    else:
        pluses[value] += 1
        pluses_list[value].append(i)


for p in pluses:
    if pluses[p] + count_minus - minuses[p] == m:
        for i in pluses_list[p]:
            t[i] = 1
        for i in minuses_list[p]:
            f[i] = 1
    else:
        for i in pluses_list[p]:
            f[i] = 1
        for i in minuses_list[p]:
            t[i] = 1

for i in range(n):
    if f[i] and not t[i]:
        print "Lie"
    elif not f[i] and t[i]:
        print "Truth"
    else:
        print "Not defined"

