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