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