Firstly, the answer for 7 should be 7.
And for every number the answer will be the number itself. This is because the following property holds for every number :
floor(x/2) + ceil(x/2) = x
When this property is recursively applied to each step, it is easy to see that the sum of parts should always be the number itself.