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