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