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