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