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