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