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