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