At a baseball game a vender sold a combined total of 188 sodas and hotdogs. The number of hot dogs sold was 30 less that the number of sodas sold. Find the number of sodas sold and the number of hotdogs sold.