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