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