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