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