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