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