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