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