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