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