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