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