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