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