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