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