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