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