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