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