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