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