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