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