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