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