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