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