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