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