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