Divisor Time:2s Memory:256M AC:0% Submit:3

Input

Output

Constraints

Example

 divisor.in divisor.out 3 1 5 3 5 10 2 4 6 4 2 3 2