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