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