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