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