PROGRAMMING:Arithmetic problem 2 of CZY
Zhuoyu's family has a dog named seal. The sea dog is very smart, but what Zhuo Yu doesn't know is that the sea dog is actually Wang Xingren. Although he doesn't know what he wants to do when he comes to the earth disguised as a pet dog, at least the sea dog is now studying math problems. Let's take a look at this problem.
Given a group of positive integers A1, A2, A3, A4, A5, A6... An, if AI% P = B, AI is called legal value, otherwise it is illegal value. Find a group of P (P > 1), B so that the legal value in the sequence is greater than or equal to the illegal value
###Input format:
The first line of each group of test data gives n (3 < = n < = 1E5), which indicates how many integers there are in the next array.
The next line gives n numbers A1, A2, A3, A4, A5, A6... An, (1 < = AI < = 1e9).
###Output format:
The output of P, B with the minimum P.B
###Input example:
Here is a set of inputs. For example:
```in
one
two
```
###Output example:
The corresponding output is given here. For example:
```out
2 0
```
answer:If there is no answer, please comment
Given a group of positive integers A1, A2, A3, A4, A5, A6... An, if AI% P = B, AI is called legal value, otherwise it is illegal value. Find a group of P (P > 1), B so that the legal value in the sequence is greater than or equal to the illegal value
###Input format:
The first line of each group of test data gives n (3 < = n < = 1E5), which indicates how many integers there are in the next array.
The next line gives n numbers A1, A2, A3, A4, A5, A6... An, (1 < = AI < = 1e9).
###Output format:
The output of P, B with the minimum P.B
###Input example:
Here is a set of inputs. For example:
```in
one
two
```
###Output example:
The corresponding output is given here. For example:
```out
2 0
```
answer:If there is no answer, please comment