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