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

PROGRAMMING:Hidden cat of PZN series

Luz5年前 (2021-05-10)题库365
PZN wants to ask the girl to go out to play, but the girl hides. This makes PZN anxious, and the girl is not very difficult to be PZN. She tells PZN that each of her roommates has a number in their hands, and the least common multiple of these numbers is the room number of the girl. Can PZN find the girl?
###Input format:
There are multiple sets of test data
Each group of test data input 5 integers to represent the number in the hands of 5 roommates (less than or equal to 50).
###Output format:
Output the room number of the girl
Output one line for each answer.
###Input example:
Here is a set of inputs. For example:
```in
1 2 4 8 16
1 2 3 5 7
```
###Output example:
The corresponding output is given here. For example:
```out
sixteen
two hundred and ten
```







answer:If there is no answer, please comment