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