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