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