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