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