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