#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,i,j;
cin>>a;
int b[a];
for(j=0;j<a;j++)
{
cin>>b[j];
}
for(i=0;i<a;i++)
{
if(b[i]%2==0)
{
cout<<"!Love"<<endl;
}
else if(b[i]%2!=0)
{
cout<<"Love!"<<endl;
}
}
return 0;
}