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