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