3 7 2 9 4
9
nums = list(map(int, input().split())) max_v = nums[0] for n in nums: if n > max_v: max_v = n print(max_v)