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