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