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