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