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