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