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