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