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