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