from pasti import dividi def main(): N = int(input()) V = list(map(int, input().split())) print(dividi(N, V)) if __name__ == '__main__': main()