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