import java.io.*;
import java.util.*;
import java.math.*;
import java.lang.*;
public class Main
{
    public static void main(String[] args)
    {
        try
        {
            Parserdoubt pd=new Parserdoubt(System.in);
            PrintWriter pw=new PrintWriter(System.out);
            int n=pd.nextInt();
            int m=pd.nextInt();
            int yes[]=new int[n+1];
            int no[]=new int[n+1];
            int nos=0;
            int replies[]=new int[n+1];
            for(int i=0;i<n;i++)
            {
                String tmp=pd.nextString();
                
                if(tmp.charAt(0)=='+')tmp=tmp.substring(1);
                int num=Integer.parseInt(tmp);
                //System.out.println(num);
                replies[i+1]=num;
                if(num<0)
                {
                    no[-num]++;
                    nos++;
                }
                else
                    yes[num]++;
            }
            boolean culprit[]=new boolean[n+1];
            int possibles=0;
            for(int i=1;i<=n;i++)
            {
                culprit[i]=(yes[i]+nos-no[i])==m;
               // System.out.println(i+" "+culprit[i]);
                if(culprit[i])possibles++;
            }
            for(int i=1;i<=n;i++)
            {
                //System.out.println(i+" "+replies[i]);
                if(replies[i]>0)
                {
                    if(culprit[replies[i]])
                    {
                        if(possibles==1)
                            System.out.println("Truth");
                        else
                            System.out.println("Not defined");
                    }
                    else
                    {
                        System.out.println("Lie");
                    }
                }
                else
                {
                    if(culprit[-replies[i]])
                    {
                        if(possibles==1)
                            System.out.println("Lie");
                        else
                            System.out.println("Not defined");
                    }
                    else
                    {
                        System.out.println("Truth");
                    }
                }
            }
            pw.flush();
        }
        catch(Exception e)
        {
            e.printStackTrace();
        }
    }
}
class Parserdoubt
    {
       final private int BUFFER_SIZE = 1 << 17;

       private DataInputStream din;
       private byte[] buffer;
       private int bufferPointer, bytesRead;

       public Parserdoubt(InputStream in)
       {
          din = new DataInputStream(in);
          buffer = new byte[BUFFER_SIZE];
          bufferPointer = bytesRead = 0;
       }
       public String nextString() throws Exception
       {
           StringBuffer sb=new StringBuffer("");
           byte c = read();
           while (c <= ' ') c = read();
           do
           {
               sb.append((char)c);
               c=read();
           }while(c>' ');
           return sb.toString();
       }
       public char nextChar() throws Exception
       {
           byte c=read();
           while(c<=' ') c= read();
           return (char)c;
       }
       public int nextInt() throws Exception
       {
          int ret = 0;
          byte c = read();
          while (c <= ' ') c = read();
          boolean neg = c == '-';
          if (neg) c = read();
          do
          {
              ret = ret * 10 + c - '0';
             c = read();
          } while (c > ' ');
          if (neg) return -ret;
          return ret;
       }
       public long nextLong() throws Exception
       {
          long ret = 0;
          byte c = read();
          while (c <= ' ') c = read();
          boolean neg = c == '-';
          if (neg) c = read();
          do
          {
              ret = ret * 10 + c - '0';
             c = read();
          } while (c > ' ');
          if (neg) return -ret;
          return ret;
       }
       private void fillBuffer() throws Exception
       {
          bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
          if (bytesRead == -1) buffer[0] = -1;
       }

       private byte read() throws Exception
       {
          if (bufferPointer == bytesRead) fillBuffer();
          return buffer[bufferPointer++];
       }
    }