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