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