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