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