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