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