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