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