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