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