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