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