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