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