Yanks had to pay about $34 million in luxury tax while Boston had to pay about $4 million