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