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