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