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