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