import java.io.*;
import java.util.*;
public final class suspects
{
    static BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	static FastScanner sc=new FastScanner(br);
    static PrintWriter out=new PrintWriter(System.out);
	static Random rnd=new Random();
	static int[][] cnt;
	
    public static void main(String args[]) throws Exception
    {
		int n=sc.nextInt(),m=sc.nextInt();cnt=new int[2][n];String[] a=new String[n];
		for(int i=0;i<n;i++)
		{
			String s=sc.next();int pos1=(s.charAt(0)=='+'?0:1),pos2=Integer.parseInt(s.substring(1,s.length()))-1;
			cnt[pos1][pos2]++;
			a[i]=s;
		}
		int sum=0;
		for(int i=0;i<n;i++)
		{
			sum+=cnt[0][i];
		}
		boolean[] v=new boolean[n];int ctr=0;
		for(int i=0;i<n;i++)
		{
			int val1=cnt[1][i],val2=sum-cnt[0][i];
			if(val1+val2==n-m)
			{
				v[i]=true;ctr++;
			}
		}
		for(int i=0;i<n;i++)
		{
			boolean b1,b2;
			if(a[i].charAt(0)=='+')
			{
				int num=Integer.parseInt(a[i].substring(1,a[i].length()))-1;b1=v[num];b2=(v[num]==false || ctr>1);
			}
			else
			{
				int num=Integer.parseInt(a[i].substring(1,a[i].length()))-1;b2=(v[num]==true);b1=((ctr==1 && !v[i]) || (ctr>1));
			}
			if(b1 && !b2)
			{
				out.println("Truth");
			}
			else if(b2 && !b1)
			{
				out.println("Lie");
			}
			else
			{
				out.println("Not defined");
			}
		}
		out.close();
    }
}
class FastScanner
{
    BufferedReader in;
    StringTokenizer st;

    public FastScanner(BufferedReader in) {
        this.in = in;
    }
	
    public String nextToken() throws Exception {
        while (st == null || !st.hasMoreTokens()) {
            st = new StringTokenizer(in.readLine());
        }
        return st.nextToken();
    }
	
	public String next() throws Exception {
		return nextToken().toString();
	}
	
    public int nextInt() throws Exception {
        return Integer.parseInt(nextToken());
    }

    public long nextLong() throws Exception {
        return Long.parseLong(nextToken());
    }

    public double nextDouble() throws Exception {
        return Double.parseDouble(nextToken());
    }
}