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