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