I think its (a) or(b)
It is (a) because.....
that is due to the perspective of energy and gravitational force.....
if a body is thrown upwards as in this case....its kinetic energy is max initially and keeps on decreasing with height....
so initially KE of A is higher than B cos it has a greater mass.....
so ke of b decreases and becomes zero earlier than that of A ......
so A moves higher than B ...... only if gravitational force exerted by earth is neglected ....
If gravitational force exerted by earth is considered then
answer is (b)
because gravitational force is directly proportional to mass of the body.....
since mass of A is greater than that of B ......
greater downward force is acting on it than that on B ......
so in this case both reach the same height.....