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