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