The vending machine has sodas in a ratio of 3 Pepsi to 4 coke. If there are 24 Pepsis in the machine, how many total sodas are there?