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