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