📅  最后修改于: 2022-03-11 14:46:01.779000             🧑  作者: Mango
if __name__ == '__main__':
n = int(input())
arr = map(int, input().split())
arr = list(arr)
x = max(arr)
y = -9999999
for i in range(0,n):
if arr[i] y:
y = arr[i]
print(y)