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