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