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