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