from math import *
print(gcd(*map(int, input().split()))) from math import * print(gcd(*map(int, input().split()))) print gcd(*map(int, input().split())) gcd *map(int, input().split()) map(int, input().split()) map int input().split() ().split () input split
from math import *
print(gcd(*map(int, input().split())))
