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