In a recent wedding, the groom's age was fifteen years more than half the bride's age. If the sum of their ages was 51 years, how old was the groom?