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