At a hockey game a vendor sold a combined total of 102 sodas and hot dogs the number of hot dogs sold are 50 less than the number of sodas sold find the number of sodas sold and the number of hot dogs sold