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