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