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