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