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