import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sca = new Scanner(System.in);
int count = 0;
String[] strings = new String[15];
for (int j = 0; j < 15; j++) {
strings[j] = sca.next();
sca.nextLine();
if (strings[j].equals(".")) {
break;
}
count++;
}
if (count >= 14) {
System.out.println(strings[1] + " and " + strings[13] + " are inviting you to dinner...");
} else if (count >= 2 && count < 14) {
System.out.println(strings[1] + " is the only one for you...");
} else System.out.println("Momo... No one is for you ...");
}
}
L1-035 情人节(java)
于 2023-03-10 19:30:10 首次发布