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