<<<<<<< HEAD
n=int(input())
list=[]
list = [int(x) for x in input().split()]
tup=tuple(list)
=======
n=int(input())
list=[]
list = [int(x) for x in input().split()]
tup=tuple(list)
>>>>>>> 4903a4bb867b41af6bc2f99b3e70dea99bb4ee08
print(hash(tup))