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