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