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