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