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