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