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