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