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