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