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