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