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