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