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