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