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