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