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