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