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