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