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