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