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