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