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