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