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