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