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