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