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