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