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