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