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