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