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