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