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