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