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