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