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