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