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