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