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