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