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