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