You are given two positive integers a and b. Let x be the average of a and b. Print x rounded up to the nearest integer.
print(sum(map(int,input().split()))//2+1)
print((sum(map(int,input().split()))+1)//2) 