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