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