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