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