program Exactly_N_points
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: n

    read*, n
    print'(i0)', n/2+1
    if (n - (n/2+1) > 0) print'(i0)', n - (n/2+1)
end program Exactly_N_points