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