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