At the zoo, there were 3 times as many monkeys as lions. Tom counted a total of 24 monkeys and lions. How many monkeys are there