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