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