implicit none
integer:: n, i, j, a, b, count_1, count_2, count_3
integer,allocatable,dimension(:):: p

read(5,*) a, b
!allocate(p(n))
!read(5,*) (p(i),i=1,n)

!write(6, *) sum(p) - maxval(p)/2
write(6, *) a+b/2

end