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