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