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