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