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