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