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