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