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