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