3 8 1 5 4
8 21
nums = list(map(int, input().split())) max_v = nums[0] for n in nums: if n > max_v: max_v = n print(max_v) print(sum(nums))