#include<iostream>
using namespace std;
int a[100100],plus[100100],minus[100100];
bool z[100100],me[100100];
int main()
{
	//freopen("input.txt","r",stdin);
	//freopen("output.txt","w",stdout);
	int i,n,m,sp=0,sm=0,k=0;
	for(i=0;i<100100;i++)
	{
		plus[i]=0;
		minus[i]=0;
		z[i]=0;
		me[i]=0;
	}
	cin>>n>>m;
	m=n-m;
	for(i=0;i<n;i++)
	{
		cin>>a[i];
		if(a[i]>0)
		{
			sp++;
			if(a[i]-1==i)me[i]=1;
			plus[a[i]-1]++;
		}
		else 
		{
			minus[-a[i]-1]++;
		}
	}
	for(i=0;i<n;i++)
		if(m==sp-plus[i]+minus[i]+me[i])
		{
			z[i]=1;
			k++;
		}
	if(k==0)
	{
		for(i=0;i<n;i++)
			cout<<"Not defined"<<endl;
		return(0);
	}
	if(k==1)
	{
		for(i=0;i<n;i++)
			if(a[i]>0)
			{
				if(z[a[i]-1])cout<<"Truth"<<endl;
				else
					cout<<"Lie"<<endl;
			}
			else
			{
				if(!z[-a[i]-1])cout<<"Truth"<<endl;
				else
					cout<<"Lie"<<endl;
			}
	}
	if(k>1)
	{
		for(i=0;i<n;i++)
			if(a[i]>0)
			{
				if(z[a[i]-1])cout<<"Truth"<<endl;
				else
					cout<<"Lie"<<endl;
			}
			else
			{
				cout<<"Not defined"<<endl;
			}
	}
}