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