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