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