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