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