#include <bits/stdc++.h>
using namespace std;
#define mod 1000000007
#define inf 10000000000000000000
#define each(n) for(i=0;i<n;i++)
#define eachs(s) for(i=0;s[i]!='\0';i++)
#define range(st,en) for(i=st;i<en;i++)
#define count(i,st,en) for(i=st;i<en;i++)
#define revc(i,en,st) for(i=en;i>=st;i--)
#define decimal(n) fixed<<setprecision(n)
#define init(a,x) memset(a,x,sizeof(a))
#define lli long long int
#define li long int
#define input(arr) each(n)cin>>arr[i];
#define pb(n) push_back(n)
#define fi first
#define se second
#define vr vector

int main() {
    // your code goes here
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    lli n,m,i,x;
    cin>>n>>m;
    lli t[n+1]={0},f[n+1]={0},tot_t=0,tot_f=0,mat[n][2];
    char ch;
    if(!m)
    {
        each(n)
            cin>>ch>>x;
        each(n)
            cout<<"Lie"<<endl;
        return 0;
    }
    each(n)
    {
        cin>>ch>>x;
        if(ch=='+')
        {
            t[x]++;
            tot_t++;
            mat[i][0]=1;
        }
        else
        {
            f[x]++;
            tot_f++;
            mat[i][0]=0;
        }
        mat[i][1]=x;
    }

    lli tmp=0;

    each(n)
    {
        //if ith is guilty
        x=i+1;
        tmp=t[x]+tot_f-f[x];
        if(tmp==m)
        {
            each(n)
            {
                if(mat[i][0]==0)
                    cout<<"Not defined"<<endl;
                else if(mat[i][1]!=x)
                    cout<<"Lie"<<endl;
                else
                    cout<<"Truth"<<endl;
            }
            return 0;
        }
    }
    each(n)
    {
        if(mat[i][0]==0 && t[mat[i][1]])cout<<"Truth"<<endl;
        else if(mat[i][0]==0)cout<<"Not defined"<<endl;
        else cout<<"Lie"<<endl;
    }
    
    return 0;
}
