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