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