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