At a basketball game, a vender sold a combined total of 161 sodas and hot dogs. The number of sodas sold was 31 more than the number of hot dogs sold. Find
the number of sodas sold and the number of hot dogs sold.