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