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