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