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