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