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