Given an array , print the largest positive number that divides all the elements in .
Input Specification
The first line will contain the integer .
The second line will contain integers, .
Output Specification
Print the largest positive number that divides all elements in .
Sample Input
3
30 5 10
Sample Output
5
Comments