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