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