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