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