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