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