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

PROGRAMMING:Single cycle counting eggs.

Luz5年前 (2021-05-10)题库378
Mother brought a new egg to Xiaoming's family. It is known that the number x of the original eggs in Xiaoming's family is the minimum number to meet the requirements of "one for three, five for five, Z for seven, and three for seven". How many eggs do Xiaoming's family have( Set the input to be positive, regardless of illegal input)
###Input format:
Enter the values of Y (number of new eggs) and Z (5, 5, Z left) in a row, separated by spaces.
###Output format:
The total number of eggs exported directly.
###Input sample 1:
```in
3 2
```
###Input sample 2:
```in
5 1
```
###Output sample 1:
```out
fifty-five
```
###Output sample 2:
```out
thirty-six
```







answer:If there is no answer, please comment