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