I don't think you understand the mechanics. It adds both together, which would be 102. Then it divides the sum by 2, and gives them both that number of HP. But since he is using a Pokemon with so little HP, its HP will be fully restored every time, reactivating study.