There are 6 baskets on the table. Each basket has 9, 10, 7, 18, 0 and 5 apples. Liam chose fourth, Sean chose first, Matt chose sixth, John chose second, Olivia chose third, and Emma chose fifth. How many apples did John and Liam choose in total?