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