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