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