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