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