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