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