-->
当前位置:首页 > 题库

PROGRAMMING:Valentine's Day

Luz5年前 (2021-05-10)题库402
![](~/ 356)
The above is a wonderful post in the circle of friends: "February 14, Valentine's day, I decided to benefit you. The second one and the 14th one, I'd like to introduce you to each other... Let's have dinner together... Please. Here is a list of friends who like this post. Please find out the two unfortunate people who want to treat.
###Input format:
Input the names of the people who don't know how many to like according to the order of like. Each person's name takes up one line. It is a non empty word with no more than 10 English letters, and ends with carriage return. An English period marks the end of the input. This symbol is not included in the like list.
###Output format:
Output the conclusion in one line according to the likes: if there are the second person a and the 14th person B, then output "a and B are inviting you to diner..."; If there is only a but no B, output "a is the only one for you..."; If there is no a, the output is "Momo... No one is for you...".
###Input sample 1:
```in
GaoXZh
Magi
Einst
Quark
LaoLao
FatMouse
ZhaShen
fantacy
latesum
SenSen
QuanQuan
whatever
whenever
Potaty
hahaha
.
```
###Output sample 1:
```out
Magi and Potaty are inviting you to dinner...
```
###Input example 2:
```
LaoLao
FatMouse
whoever
.
```
###Output example 2:
```
FatMouse is the only one for you...
```
###Input sample 3:
```
LaoLao
.
```
###Output example 3:
```
Momo... No one is for you ...
```






answer:If there is no answer, please comment