calculate what you have left

calculate what you have left