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