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