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