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