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