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