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