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