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