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