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