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