#53626: Python一行解


digua20240723@gmail.com (地呱)


print(list(map(int,input().split()))[len(list(map(int,input().split())))//2])