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