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