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