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