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