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