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