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