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