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