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