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