#include<bits/stdc++.h>
using namespace std;
typedef struct {
string name;
}Name;
int main()
{
Name num[1000];
int i=0;
while(1){
cin>>num[i].name;
if(num[i].name!=".")
{
i++;
}
else
break;
};
if(i>12)
cout<<num[1].name<<" and "<<num[13].name<<" are inviting you to dinner..."<<endl;
else{
if(i>1)
cout<<num[1].name<<" is the only one for you..."<<endl;
else
cout<<"Momo... No one is for you ..."<<endl;
}
return 0;
}